Jak wykonać funkcję JS po opuszczeniu przez użytkownika textarea ?: Różnice pomiędzy wersjami

Z Podręcznik Administratora by OPZ SGU
Przejdź do nawigacji Przejdź do wyszukiwania
m
m (Zastępowanie tekstu - "</source>" na "</pre>")
Linia 6: Linia 6:
}
}
</script>
</script>
</source>
</pre>


<source lang="html4strict">
<source lang="html4strict">
<textarea onblur="cos();">
<textarea onblur="cos();">
</textarea>
</textarea>
</source>
</pre>


[[Category:javascript]]
[[Category:javascript]]

Wersja z 17:23, 15 lut 2018

<source lang="html4strict"> <script>

   function cos()
   {
 aler('cos');  

} </script>

<source lang="html4strict"> <textarea onblur="cos();"> </textarea>