A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
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" />
subject: disable a button
how to disable back button
disable the browser back button
how to diable browser back button
launch window options
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2015