JavaScript DHTML/Event onMethod/onDeactivate

Материал из Web эксперт
Перейти к: навигация, поиск

"onDeactivate" Example

   <source lang="html4strict">
   

<HTML> <head> </head> <body>

Press tab to bring the following link in and out of focus.

<a tabindex="3"

  id="myL" 
  href="http://www.wbex.ru/" 
  target=_blank 
  ondeactivate="alert("The link has been deactivated")">
  www.wbex.ru

</a> </body> </HTML>


     </source>