I am using this fancy little JavaScript to highlight a field as the user hovers over it. Could you please tell me if there is a way of adding an onclick functio
In case you're dealing with tag, and you want to interrupt going to the default href you should use this instead.
Go to default url (yahoo):
Go to new url (google) onclick:
By using this you're interrupting the current browser onclick event and changing href before continuing to default behaviour of
0
讨论(0)