Oliver
Mon Mar 01 18:16:46 CST 2004
Yes, you could enclose the text/form objects you want to hide in span
element (sort of container). When you click on your radio button, you should
be able to toggle the display attribute of this element.
For example the following snippet of code produces an effect to hide (-) or
display (+) the contents of the element objDiv.
sub subToggleSpanElement(byref strImage,byref objDiv)
if objDiv.style.display = "none" then
objDiv.style.display = ""
strImage.src = "images/small_minus.gif"
else
objDiv.style.display = "none"
strImage.src = "images/small_plus.gif"
end if
end sub
--
Oliver
This posting is provided "AS IS", with NO warranties and confers NO rights
"Colin Colin" <ccole@ghs.guthrie.org> wrote in message
news:eGp6v68$DHA.2212@TK2MSFTNGP10.phx.gbl...
> I am making a data entry form for a webpage app and would like to know
> if the Client Side VBSCript can do this. In the form there is a radio
> button. If the user clicks on one of the radio button values, I want to
> show/hide or enable/disable other text box and combo box objects in the
> form. Can VBScript do this?
>
>
>
> *** Sent via Developersdex
http://www.developersdex.com ***
> Don't just participate in USENET...get rewarded for it!