Tutorial :how to get the users id's on after select checkbox from fieldset using jquery



Question:

I am using this code to select the checbox from fieldset:

$("fieldset:has(input[type='checkbox'])")  

its working fine on the fieldset I have studentid's I need to get the student id's which ever textbox is selected on the fieldset?

Can anybody help me out?

thanks


Solution:1

Try:

$("fieldset input[name=theName]:checkbox:checked").each(function() {      alert(this.value);  });  

Note:If u also have question or solution just comment us below or mail us on toontricks1994@gmail.com
Previous
Next Post »