|
-
Jan 21st, 2004, 04:52 AM
#1
Thread Starter
Lively Member
Reference an object
Hi
Can anyone help me with something that is confusing me...
I know that in javascript you can reference a HTML object by using:
document.all['blah'] etc
but it i want to dynamically reference the object for example
var strValue = 'divInfo';
document.all[strValue]
I am unable to do this
Can anyone suggest why this might be the case?
Thanks in advance
Sarah
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
|
Click Here to Expand Forum to Full Width
|