Reputation: 117
I have a code for anchor tag. The Disabled attribute works in IE but not in FF.
Below is the code
<a href="javascript:checkSubmit('help');" disabled="true" "tabindex="<%= tabIndex.getNext()%>" >
Help
</a>
Upvotes: 0
Views: 383
Reputation: 1038730
disabled
is not a valid attribute on the anchor tag. Reference: https://www.w3.org/TR/html-markup/a.html
So you cannot possibly expect this to work across all browsers. In order to handle this in a cross browser manner you might need to use some combination of javascript and CSS.
Upvotes: 2