I have this submit button.
<input id="bulkBtn" name="cat" value="delete" />
Now I want to get access to name attribute of this Jquery Object.
var bulkBtn = $('#bulkBtn');
//how can I get to bulkBtn's name attribute???
Does anyone know how to do it?
I know I can get access to name attribute of input tag like this. But, I want to know how to get to name attribute that is contained in Jquery Object.
$("input[name='foo']");
Thanks in advance!!!