It's not a secret anymore!*
The moose likes HTML, CSS and JavaScript and the fly likes disable a button Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Engineering » HTML, CSS and JavaScript
Bookmark "disable a button" Watch "disable a button" New topic
Author

disable a button

Dan Silva
Ranch Hand

Joined: Sep 05, 2007
Posts: 86
How do I disable a button? I'm looking to make it unclickable, not just not display it. THanks.
[ May 16, 2008: Message edited by: Bear Bibeault ]
Eric Pascarello
author
Rancher

Joined: Nov 08, 2001
Posts: 15376
    
    6
Add the disabled attribute to the it just like you would for any other form element.



Eric
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: disable a button
 
Similar Threads
disable the browser back button
how to diable browser back button
how to disable back button
launch window options
Javascript Problem with onchange event