Mega Code Archive

 
Categories / JavaScript Reference / Event Handlers Reference
 

OnSelectStart Example

<html> <head> <script language="JavaScript">    function function1() {      alert("The rntsoft.com home page will open");      window.open("http://www.rntsoft.com","","")  }  </script></head> <body contenteditable=true>    <a href="http://www.rntsoft.com"        onselectstart="function1()">rntsoft.com    </a> </body> <html>