gilad111397
asked on
Access Div from JavaScript
I have the following def -
<style type="text/css">
#x1{position:absolute;top: 000px;left :00px;z-in dex:1;visi bility:vis ible}
</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 ?
<style type="text/css">
#x1{position:absolute;top:
</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
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.