-
How do I get the equivent of this line to work in NS 6+
The following javascript line works in ie... How do I get the equivent of
it to work in NS 6+??
-------------------------------------------------
document.getElementById("someid").parentElement.id
Thanks,
Some Dude
-
Re: How do I get the equivent of this line to work in NS 6+
That code is DOM1 and should work in NS6, have you tried?
Danny
"Some Dude" <some@dude.com> wrote in message
news:3e318e3f$1@tnews.web.devx.com...
>
> The following javascript line works in ie... How do I get the equivent of
> it to work in NS 6+??
>
> -------------------------------------------------
> document.getElementById("someid").parentElement.id
>
>
> Thanks,
> Some Dude
-
Re: How do I get the equivent of this line to work in NS 6+
I did try and it did not work in ns 6... however after some more research,
I found that document.getElementById("someid").parentNode.id works the same
way..
"Dan" <dann@hotpop.com> wrote:
> That code is DOM1 and should work in NS6, have you tried?
>
> Danny
>
>
>"Some Dude" <some@dude.com> wrote in message
>news:3e318e3f$1@tnews.web.devx.com...
>>
>> The following javascript line works in ie... How do I get the equivent
of
>> it to work in NS 6+??
>>
>> -------------------------------------------------
>> document.getElementById("someid").parentElement.id
>>
>>
>> Thanks,
>> Some Dude
>
>
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
Forum Rules
|
Top DevX Stories
Easy Web Services with SQL Server 2005 HTTP Endpoints
JavaOne 2005: Java Platform Roadmap Focuses on Ease of Development, Sun Focuses on the "Free" in F.O.S.S.
Wed Yourself to UML with the Power of Associations
Microsoft to Add AJAX Capabilities to ASP.NET
IBM's Cloudscape Versus MySQL
|
Bookmarks