OZONE Asylum
Forums
DHTML/Javascript
overriding onClick events.
This page's ID:
28447
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
ok, so if I have an onclick event for a table row like this..how can I 'override' the <tr onclick:dothis();> and run the 'dothat();' functions in the button and the div? Because right now if I click anything on that table row the dothis() gets called. Is there a way to disable that without removing that tr onclick? [code]<tr onclick="dothis();"> <td>stuff</td> <td>more stuff</td> <td><input type=button onclick="dothat();" value="I want this function to run, not the one in the tr tag"></td> <td> <div id="someid" onclick="dothat2();" value="I want this function to run, not the one in the tr tag"> ---some stuff in div. </div> </td> </tr>[/code] [small](Edited by [url=http://www.ozoneasylum.com/user/4121]protoculture[/url] on 09-19-2006 13:19)[/small]
Loading...
Options:
Enable Slimies
Enable Linkwords
« Backwards
—
Onwards »