crna-guja Administrator
Broj postova : 187 Age : 30 Lokacija : Pula Registration date : 04.03.2008
| Naslov: JAVA tutorial: Confirm box sri ožu 05, 2008 9:58 pm | |
| - Kod:
-
<html> <head> <script type="text/javascript"> function disp_confirm() { var r=confirm("Press a button"); if (r==true) { document.write("You pressed OK!"); } else { document.write("You pressed Cancel!"); } } </script> </head> <body>
<input type="button" onclick="disp_confirm()" value="Display a confirm box" />
</body> </html> | |
|