lilbit
06-25-2009, 07:27 PM
Hi,
Not an expert but could use some understanding and confirmation regarding the use of onclick event handlers.
I've worked with them on many occasions, but my question if an HTML tag currently has an onclick event and I need to add another, can I just simply add another onclick?
Example
<a href="/files/Registration_Form.doc" onClick="javascript: pageTracker._trackPageview('/downloads/Registration_Form_Universal'); onclick="javascript:this.form-just a sample">here</a>
Is this possible to do?
Thanks!
Not an expert but could use some understanding and confirmation regarding the use of onclick event handlers.
I've worked with them on many occasions, but my question if an HTML tag currently has an onclick event and I need to add another, can I just simply add another onclick?
Example
<a href="/files/Registration_Form.doc" onClick="javascript: pageTracker._trackPageview('/downloads/Registration_Form_Universal'); onclick="javascript:this.form-just a sample">here</a>
Is this possible to do?
Thanks!