I want to create a form that searches a DB for an entry and if that entry is equal to 0 it leave the button clickable but otherwise it greys the button out.
I know the PHP side of this but how do you create a HTML button that's unclickable and greyed out?
Regards,
How to disable HTML buttons
Moderator: General Moderators
I believe it's like this:
Code: Select all
<input type="submit" value="Submitting..." disabled="disabled">