ZMENA TEXTU

ID
Nazov / Name:
Popis / Description:
Dlzka / Length:
Testovane pod / Tested under:

 

009
p009.html / p009.zip
Po stlaceni tlacitka dojde k zmene vlozeneho textu vo formularovom poli
511b
NN 4.04, IE 4.0

UKAZKA / CLICK HERE

Zdrojovy tvar / Source code:

<html> <head> <title> JavaScript DESTINATION - P009 </title> </head> <body> <SCRIPT LANGUAGE="JavaScript"> <!-- function modifytext(text) { input = window.prompt("Napisal si: " + text.value + ". Napis nieco ine.",text.value); if (input != null) { text.value = input; } } // --> </SCRIPT> <FORM NAME="modify"> <INPUT TYPE="text" NAME="text"><br> <INPUT TYPE="button" VALUE="Zmen co si napisal" onClick="modifytext(modify.text);"> </FORM> </body> </html>
[ Navrat / BACK ]