Link to home
Start Free TrialLog in
Avatar of gilad111397
gilad111397

asked on

Access Div from JavaScript

I have the following def -
<style type="text/css">
  #x1{position:absolute;top:000px;left:00px;z-index:1;visibility:visible}
</style>

then there is -
<div id=x1>
...
</div>

and I'm trying to access x1 with -
document.all.x1.[property]
within javascript but it doesn't work.

Any idea ?
ASKER CERTIFIED SOLUTION
Avatar of Bhargava
Bhargava

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial