File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
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.
I agree. Here's the link:
subject: disabling more than one control
how to disable a div in firefox?
Creating CSS class at runtime
disabling windows close icon
Sort Div Ids
How to get Full Form Id?
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2015