Answers for "button with both href and onclick"

1

on click in a tag

<a onclick='newwin()'>Anchor</a>
Posted by: Guest on July-01-2020
0

href before onclick js

<a href="" onclick="javascript:triggerMe();return false;">click</a>
Posted by: Guest on July-01-2020

Browse Popular Code Answers by Language