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
Author

Why disabled attribute doesnt work

Emilio de la Torre
Greenhorn

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?

Thanks
Eric Pascarello
author
Rancher

Joined: Nov 08, 2001
Posts: 15376
    
    6
Works for me with buttons: http://jsfiddle.net/Bcmq5/

Can you show your code that is not working?

Eric
 
I agree. Here's the link: http://aspose.com/file-tools
 
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