how to send only selected chebox values to the next page using jquery
- by kumar
Hello friends,
I am using this code to check wheather my checkbox is checked or not..
$('#btnMassEdit').click(function() {
$('#ExceptionDetails input[type=checkbox]').each(function() {
if ($(this).attr('checked')) {
$('#specialist-tab').tabs('url', 3, '<%=Url.Action("getmasseditexceptions", "Expense", new { @GUI_SPEC_STAT_DSPL = GUI_SPEC_STAT_DSPL, @C_EXCPT_CATG = C_EXCPT_CATG, @C_EXCPT_TYPE = C_EXCPT_TYPE })%>').tabs('enable', 3).tabs('select', 3);
return false;
} else {
alert("please select atleast one exception");
return false;
}
});
});
I am getting the exceptions but i need only which ever is checkecd i need to send it next page..
but here its only checking for first exception and sending all the other exceptin even that is not checked..
thanks