I want to add some links to some website of mine, but these links will call a javascript function and will not be underlined, also I want the cursor to be changed to a standard pointer. Which is the best way of doing it and why?
Right now I can think of two aproaches:
<a href="javascript:someFunction()" style="text-decoration:none">LINK</a>
or
<span onClick="someFunction();" style="cursor: pointer;">LINK</span>
Which one do you think is better?