With the following jQuery based script you can stop the default action of dummy links, ie: <a href=#>
$('a').click(function(e) {
e.preventDefault();
});
What would be the plain vanilla version of this script?
I'm not a JavaScript programmer but I'm thinking it may be something that uses return false;
. Again, I may be totally wrong.
Thanks in advance for your help.