A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Win a copy of
The Java EE 7 Tutorial Volume 1 or Volume 2
this week in the
jQuery UI in Action
disabling more than one control
Joined: Oct 11, 2004
Nov 04, 2006 10:39:00
How to disable set or number of controls at one shot?
I tried by putting all the controls b/w <div disabled> and <div>, but it didn't disable any of the control.
Author and ninkuma
Joined: Jan 10, 2002
Nov 04, 2006 12:07:00
You'll need to disable them individually.
Asking smart questions
Books by Bear
Joined: Jan 04, 2005
Nov 14, 2006 02:46:00
The following elements only supports 'disabled' attribute:
BUTTON, INPUT, OPTGROUP, OPTION, SELECT, and TEXTAREA.
<Div> in your case doesn't have this property, So set the disable property individually for all the controls which you want as suggested by Bear.
It is sorta covered in the
JavaRanch Style Guide
subject: disabling more than one control
how to disable a div in firefox?
Creating CSS class at runtime
How to get Full Form Id?
Sort Div Ids
disabling windows close icon
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2014