Click to See Complete Forum and Search --> : How to make a control invisible in a form
Anish S
March 21st, 2002, 02:43 AM
How to make a control invisible in a form i mean
is it possible to write a script which will make some controls visible at some condition and make them invisible at other times
hugo123
March 21st, 2002, 04:29 AM
I'm not sur I answer to your question. I don't know how to hide or show control. But it is possible to use hide or show method whith layer. I read this on the client reference manual.
Hope this help
LordDemon
March 22nd, 2002, 03:00 AM
Just do this:
<select name="anobject">
<option value=1>foo
</select>
document.all("anobject").style.display="none";
to hide the combobox
document.all("anobject").style.display="inline";
to show the combobox.
For more info look for information about the document object model.
LordDemon
bladzaker
April 3rd, 2002, 10:07 PM
is it ie, netscape compatible?
P Cush
April 12th, 2002, 07:18 AM
I tried similar code to hide a radio button group but was not successful. How would you do it?
codeguru.com
Copyright WebMediaBrands Inc., All Rights Reserved.