File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes HTML, CSS and JavaScript and the fly likes Why disabled attribute doesnt work Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of REST with Spring (video course) this week in the Spring forum!
JavaRanch » Java Forums » Engineering » HTML, CSS and JavaScript
Bookmark "Why disabled attribute doesnt work" Watch "Why disabled attribute doesnt work" New topic

Why disabled attribute doesnt work

Emilio de la Torre

Joined: Feb 16, 2012
Posts: 4
Hi, im a newbie in web development. Ive been looking at examples on the web, and several of them use the attribute disabled="disabled" in a button or a link but doesnt seen to work for me

Is there a specific reason for this?

Eric Pascarello

Joined: Nov 08, 2001
Posts: 15385
Works for me with buttons:

Can you show your code that is not working?

I agree. Here's the link:
subject: Why disabled attribute doesnt work
jQuery in Action, 3rd edition