Answers for "link js function to onclick html"

CSS
1

how to link js function to button

<input id="clickMe" type="button" value="clickme" onclick="doFunction();" />
Posted by: Guest on November-18-2021
1

onclick open link js

window.open(url);
Posted by: Guest on June-06-2020

Browse Popular Code Answers by Language