PDA

View Full Version : Does anyone know an example of this?


Infernette
08-21-2014, 09:18 AM
Do any of you guys know where an example of a 'check all' button can be found in the script and if they can be modified to check just certain boxes(ie. just ones with a number less than five or greater, something stupid simple that I can modify to my needs).

I don't recall it but I don't have any of the base files in my current access and my site doesn't have anything like it.:veeee:

IntoRain
08-21-2014, 02:19 PM
You mean like checkboxes? A check all is usually done with jQuery's .click function. Make a special checkbox for a 'check all' that once it is clicked, checks/unchecks all others checkboxes

Infernette
08-21-2014, 06:34 PM
Do you have any examples of this (and maybe know a way to get it to check just eggs, ect?) I know the script is finicky so I'm not sure what will work( I'm not learned with jquery)

IntoRain
08-21-2014, 07:43 PM
Hmm maybe this will help http://briancray.com/posts/check-all-jquery-javascript basically when .checkall is clicked, all checkboxes on its fieldset are set to clicked as well. If you put javascript inside Comment() on the .php pages, it will work for that page (example: http://mysidiaadoptables.com/forum/showthread.php?t=4392 @ part 3)