OZONE Asylum
Forums
DHTML/Javascript
Need help - Javscript onclick event issue
This page's ID:
30173
Search
QuickChanges
Forums
FAQ
Archives
Register
Edit Post
Who can edit a post?
The poster and administrators may edit a post. The poster can only edit it for a short while after the initial post.
Your User Name:
Your Password:
Login Options:
Remember Me On This Computer
Your Text:
Insert Slimies »
Insert UBB Code »
Close
Last Tag
|
All Tags
UBB Help
Hi guys need some help here pronto. I have a div whcih nests some other divs like this [code]<div id="container" onclick="dosomething()"> <div id="column01">....</div> <div id="column02">....</div> <div id="column03">....</div> </div>[/code] The thing is that when I click on the container div - I've put in the onclick event of that div a function call to be executed. Now the thing is that lets say even if I click on any of the divs within the container i.e. column01, column02, column03 - it still fires the onclick event on the container div. I would like that if someone clicks on the divs column01 and divs column02 that the dosomething() function as described in the onclick event of the container div should NOT be executed... how do I do this?
Loading...
Options:
Enable Slimies
Enable Linkwords
« Backwards
—
Onwards »