How to properly enable/disable input field on click with jQuery?
I was experimenting with:
$(\"#FullName\").removeAttr(\'disabled\');
$("#FullName").prop('disabled', true);
Will do.
But keep in mind after you disable it (by the above code) onclick handler wont work as its disabled. To enable it again add $("#FullName").removeAttr('disabled'); in the onclick handler of another button or field.
onclick
$("#FullName").removeAttr('disabled');