Prevent default behaviour


/ Published in: JavaScript
Save to your folder(s)

Stop default behaviour from happening.
In the second example we open a jQuery UI dialog instead of going to a different url when clicking on an A-tag with an id of "myLink".

Report this snippet


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.