Maybe I should have explained my goal; to 'harvest' all form data when the user clicks the submit button, then submit them using jQuery powered AJAX.
If the user checked 2 out of the 3 checkboxes, will jQuery 'remember' the ones the user checked?
+1On Tue, Sep 6, 2011 at 10:11 AM, Erick Njenga <eriknjenga@gmail.com> wrote:
_______________________________________________How about giving them a class attribute and adding something similar to:$(".class_name").click(function(){//use $(this) to get the exact checkbox that was clicked$(this).attr("value"); //This will get the value of the checkbox});HTHThanks and Regards,
Erick Njenga Nyachwaya,
Skunkworks mailing list
Skunkworks@lists.my.co.ke
http://lists.my.co.ke/cgi-bin/mailman/listinfo/skunkworks
------------
Skunkworks Rules
http://my.co.ke/phpbb/viewtopic.php?f=24&t=94
------------
Other services @ http://my.co.ke
_______________________________________________
Skunkworks mailing list
Skunkworks@lists.my.co.ke
http://lists.my.co.ke/cgi-bin/mailman/listinfo/skunkworks
------------
Skunkworks Rules
http://my.co.ke/phpbb/viewtopic.php?f=24&t=94
------------
Other services @ http://my.co.ke