check all checkboxes
Posted on 2008-06-15
I am using the attached script to post ajax data to the server, the user has an option to select records they want to process by ticking the checkbox, i am assuming that if the user did not tick any checkboxes then process all the records available on the page.
in order to do this, i am ticking the checkboxes from the script so that i can post appropriate records ids.
this is actually visible on the page, soon you click on save button user can see the checkboxes being ticked and posted.
i wonder if i can do the same without actually making the check boxes tick visible?
many thanks for your help