my dog learned polymorphism*
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 EJB 3 in Action this week in the EJB and other Java EE Technologies 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
Listern Problem on Disabled JTextField
<h:selectOneListbox disabled="true"> cant read in bean after enbaling thro' JS
Override the gray text generated from disabled="true"
Problem with Tomahawk library
get action property