Answers for "html button javascript void"

0

html button javascript void

<a href="javascript:void(0);">
  Click here to do nothing
</a>

<a href="javascript:void(document.body.style.backgroundColor='green');">
  Click here for green background
</a>
Posted by: Guest on April-04-2021

Code answers related to "Javascript"

Browse Popular Code Answers by Language