It's not a secret anymore!*
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 Murach's Java Servlets and JSP this week in the Servlets 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: 15376
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
Similar Threads
Override the gray text generated from disabled="true"
get action property
Problem with Tomahawk library
Listern Problem on Disabled JTextField
<h:selectOneListbox disabled="true"> cant read in bean after enbaling thro' JS