Jak wykonać funkcję JS po opuszczeniu przez użytkownika textarea ?: Różnice pomiędzy wersjami
Przejdź do nawigacji
Przejdź do wyszukiwania
m |
m (Zastępowanie tekstu - "</source>" na "</pre>") |
||
Linia 6: | Linia 6: | ||
} | } | ||
</script> | </script> | ||
</ | </pre> | ||
<source lang="html4strict"> | <source lang="html4strict"> | ||
<textarea onblur="cos();"> | <textarea onblur="cos();"> | ||
</textarea> | </textarea> | ||
</ | </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>