/ Published in: JavaScript
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".
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".