How do I call an object/element/property when one or more of the names
are defined by a variable? I want to do something like this:
[var_window_name].document.getEl ementById("[var_id]").style.foo="b ar"
Am I missing something obvious, or is this not possible? And if not,
any suggested work-arounds?
Thanks!
are defined by a variable? I want to do something like this:
[var_window_name].document.getEl ementById("[var_id]").style.foo="b ar"
Am I missing something obvious, or is this not possible? And if not,
any suggested work-arounds?
Thanks!
Comment