|
||||||||||||||||||||
window.document.all(???)......
|
Author | Message |
---|---|
![]() Folks, It's my first post here, so please bare with me... This could be very simple for you all........... *************** <div id="test" style="display: "> ************ **I'm using IE5.5 But when I try to run that, I'm getting scripting error.. Is that the valid CAn you please let me tell me how can I do that for a particular html Thanks a lot, PS: I found that example I'm referring to at |
|
Mon, 10 Nov 2003 06:54:08 GMT | |
![]() |
|
![]() <html>
<head> <script language="VBscript"> sub toggle_onclick() id = "foo" sBlock = "block" sNone = "none" if document.all(id).style.display = sBlock then document.all(id).style.display = sNone else document.all(id).style.display = sBlock end if end sub </script> </head> <body> <INPUT id="toggle" TYPE="button" value="toggle"> <div id="foo" style="display:block">hello</div> </body> </html> -- Quote: > Folks, > It's my first post here, so please bare with me... > This could be very simple for you all........... > *************** > <div id="test" style="display: "> > ************ > **I'm using IE5.5 > But when I try to run that, I'm getting scripting error.. Is that the valid > CAn you please let me tell me how can I do that for a particular html > Thanks a lot, > PS: I found that example I'm referring to at |
|
Mon, 10 Nov 2003 07:49:23 GMT | |
Page 1 of 1 |
[ 2 post ] |