I have asp.net server side button. I want to change the value of type attribute from submit to button.
Button :
Currently I used the below code to change the value of type attribute
var submitForm = "<%=submitForm.ClientID %>";
$('#' + submitForm).attr("type", "button");
but I found below error :
uncaught exception: type property can’t be changed
How can I change the value?
please try below code
http://jsfiddle.net/qeUxP/