Page 1 of 1

My jquery button set to "disabled", still functions

Posted: Mon Feb 14, 2022 5:11 pm
by Astro
Hi everyone.
I added a jQuery Themeable Button to my page and set it to "disabled" but it continues to function.

See here: https://carbonscopetubes.com/One_Time_Specials.html

Any suggestion?
---Frank

Re: My jquery button set to "disabled", still functions

Posted: Mon Feb 14, 2022 6:03 pm
by Pablo
It looks like you have used the button as a link.
In that case, it cannot be disabled.
'Disabled' only applies to form elements.

See also
https://www.w3schools.com/tags/att_input_disabled.asp

Re: My jquery button set to "disabled", still functions

Posted: Mon Feb 14, 2022 6:34 pm
by Astro
Pablo wrote: Mon Feb 14, 2022 6:03 pm It looks like you have used the button as a link.
In that case, it cannot be disabled.
'Disabled' only applies to form elements.

See also
https://www.w3schools.com/tags/att_input_disabled.asp
Ok, I understand. I just created a work-around that you may find amusing: https://carbonscopetubes.com/One_Time_Specials.html

Thanks for your help,
---Frank