How can we retrieve the attribute values of a checkbox using javascript.
I am using a javascript function in onclick() event.
In that function i can able to identify the checkbox is checked or not.
But when i access to retrive value,i didn't get.
var id=$("#chkbox").attr("attibteid");
The above query wont return anything. Please suggest