« Return to the main article
Francis. The consensus seems to be that using # as the href and then also having an onclick event is bad practice.
I think what you should do is use a void() call. Something like:
href="JavaScript:void(myFunction())"
Jake
Francis. The consensus seems to be that using # as the href and then also having an onclick event is bad practice.
I think what you should do is use a void() call. Something like:
href="JavaScript:void(myFunction())"
Jake