JavaScript DHTML/Event onMethod/onSelectionChange — различия между версиями

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

Версия 13:02, 26 мая 2010

"onSelectionChange" Example

   <source lang="html4strict">
   

<head> <script language="JavaScript" for=document event=onselectionchange>

  alert("The selection has changed");

</script> </head> <body>

Copy some text into the textarea

<form> <textarea cols=30 contenteditable=true>Click here</textarea> </form> </body>


     </source>