A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Win a copy of
Java SE 8 for the Really Impatient
this week in the
disable a button
Joined: Sep 05, 2007
May 16, 2008 06:53:00
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 ]
Joined: Nov 08, 2001
May 16, 2008 07:26:00
Add the disabled attribute to the it just like you would for any other form element.
<input disabled="true" />
I agree. Here's the link:
subject: disable a button
how to diable browser back button
how to disable back button
launch window options
disable the browser back button
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2014