XBrowser Hide And Show Problem
Hello Everybody I am using a div tag in my html page and trying to hide and show a text field at run time this works fine while using IE but when i am using Netscape 4.x.it gives me problem accessing document.forms[0].divName i have found that in netscape div is not a part of from abject and used document.divName also but still it is creating a problemdo anybody of you have a suggestion.or can anybody tell me where to consult.. Thanks & Regards Dinesh
RE: XBrowser Hide And Show Problem
in netscape it is document.layers that contains all the div tags. And it it also helpful to realize that in netscape every layer itself is a DOM. You can probably find details in a not-out-of-date Javascript book. Good luck! -Original Message- From: Dinesh Chaturvedi [mailto:[EMAIL PROTECTED]] Sent: Wednesday, May 16, 2001 2:43 AM To: [EMAIL PROTECTED] Subject: XBrowser Hide And Show Problem Hello Everybody I am using a div tag in my html page and trying to hide and show a text field at run time this works fine while using IE but when i am using Netscape 4.x.it gives me problem accessing document.forms[0].divName i have found that in netscape div is not a part of from abject and used document.divName also but still it is creating a problemdo anybody of you have a suggestion.or can anybody tell me where to consult.. Thanks & Regards Dinesh
RE: XBrowser Hide And Show Problem
look i am using a text box inside a DIV tag but when i access it using document.divTagIdName or document.layers.divTagIdName (as suggested by you) it is not working saying it is not an object. i have documentation for netscape 4.x and i am doing the same thing written there but still it does not work please help. -Original Message- From: GU,JAMES (HP-Corvallis,ex1) [mailto:[EMAIL PROTECTED]] Sent: Wednesday, May 16, 2001 7:37 PM To: '[EMAIL PROTECTED]' Subject: RE: XBrowser Hide And Show Problem in netscape it is document.layers that contains all the div tags. And it it also helpful to realize that in netscape every layer itself is a DOM. You can probably find details in a not-out-of-date Javascript book. Good luck! -Original Message- From: Dinesh Chaturvedi [mailto:[EMAIL PROTECTED]] Sent: Wednesday, May 16, 2001 2:43 AM To: [EMAIL PROTECTED] Subject: XBrowser Hide And Show Problem Hello Everybody I am using a div tag in my html page and trying to hide and show a text field at run time this works fine while using IE but when i am using Netscape 4.x.it gives me problem accessing document.forms[0].divName i have found that in netscape div is not a part of from abject and used document.divName also but still it is creating a problemdo anybody of you have a suggestion.or can anybody tell me where to consult.. Thanks & Regards Dinesh