How to Refrence to HTML Object
- From: vunet.us@xxxxxxxxx
- Date: 30 Apr 2007 13:03:27 -0700
I have array elements referenced to HTML objects:
myArr[0] = document.getElementById("myDiv1");
myArr[1] = document.getElementById("myDiv2");
How do I reference to these HTML objects through array using object's
properties to make something like:
myArr["some_proprty_here"].innerHTML = "div content changed"
I know this can be done but I do not see how.
.
- Follow-Ups:
- Re: How to Refrence to HTML Object
- From: vunet . us
- Re: How to Refrence to HTML Object
- Prev by Date: Re: Changing the size of a popup window?
- Next by Date: Re: How to Refrence to HTML Object
- Previous by thread: Redirection and opening a new window in IE7
- Next by thread: Re: How to Refrence to HTML Object
- Index(es):