I have an button whose type is image i want to disable button till some action following is the html tag
How to disable this button?
I have an button whose type is image i want to disable button till some action following is the html tag
How to disable this button?
You can add a click that returns false:
$('#myButton').click(function() { return false; });
You might want to add a message that explains why it's disabled, and possibly some CSS to make it look disabled as well.