i have an html page where i have multiple "checkboxes" each of them are call a function onclick.
Something like this
onclick="manage(val1, val2)
And in my function when i am getting the check status of checkbox, giving false every time.
function manage(val1, val2) {
**if ($(this).is(":checked")) {** //returns false everytime
//do something
//
}
else {
//do something
}
}
please tell me where i am doing mistake...
Thanks in advance