Ok, I've not exactly at guru status when it comes to Javascript, so I need some help with this seemingly simple task:
I've got this:
<div style="...">
<div>Stuff here</div>
</div>
What I need to do is have an onclick event on the nested DIV that can change the overflow properties of its "parent" DIV. I thought this.parent.style would be the way to go, but apparently not.
So how do I reference that?
PS: I don't want to use IDs, as these boxes are going to be dynamically generated.
Thanks