Thanx a lot
>===== Original Message From "javascript" <javascript@p...> =====
>Try
>
>var obj = document.getElementById("d1");
>
>-----Original Message-----
>From: Udhayakumar. U [mailto:udhayakumar@i...]
>Sent: Friday, June 07, 2002 4:51 PM
>To: javascript
>Subject: [javascript] Help in Netscape 6.2 - Very Urgent
>
>Hai,
>
>
> Please help me how to access the div's Id in JavaScript.
>
>I know how to access in IE and Netscape 4.6 and 4.7
>
>But this is not working in NS 6.2
>
>Please go thro the following Code and tell me where to modify.
>
>If u tell me for one thing I will follow that and access all the
>variable.
>
>In the following code the alert message displayed undefined
>
>html
>
>head
>titleNew Page 1/title
>
>script Language="JavaScript"
>function uu()
>{
>
> alert(window.document.d1)
>}
>
>/script
>
>/head
>
>body onLoad="uu()"
>
>div id="d1" style="position:absolute;top:10" /div
>/body
>
>/html
>
>Regards
>Udhay
>
>
>
>---
>
>Improve your web design skills with these new books from Glasshaus.
>
>Usable Web Menus
>http://www.amazon.com/exec/obidos/ASIN/1904151027/ref=nosim/theprogramme
>r-20
>Constructing Accessible Web Sites
>http://www.amazon.com/exec/obidos/ASIN/1904151000/ref=nosim/theprogramme
>r-20
>Practical JavaScript for the Usable Web
>http://www.amazon.com/exec/obidos/ASIN/1904151051/ref=nosim/theprogramme
>r-20
>
>
>
>---
>
>Improve your web design skills with these new books from Glasshaus.
>
>Usable Web Menus
>http://www.amazon.com/exec/obidos/ASIN/1904151027/ref=nosim/theprogramme
>r-20
>Constructing Accessible Web Sites
>http://www.amazon.com/exec/obidos/ASIN/1904151000/ref=nosim/theprogramme
>r-20
>Practical JavaScript for the Usable Web
>http://www.amazon.com/exec/obidos/ASIN/1904151051/ref=nosim/theprogramme
>r-20
Regards
Udhay