Domeniu: Birotică
Conține 1 fișier:
ppt
Pagini : 11 în total
Mărime: 531.16KB (arhivat)
Publicat de: Veniamin Rusu
Puncte necesare: 0
Extras din seminar
<html>
<head>
<script type="text/javascript">
function disp_confirm()
{
var r=confirm("apasa un buton");
if (r==true)
{
document.write("Ai apasat OK!");
}
else
{
document.write("Ai apasat Cancel!");
}
}
</script>
</head>
<body>
<input type="button" onclick="disp_confirm()" value="Afiseaza o caseta de confirmare" />
</body>
</html>
<html>
<head>
<script type="text/javascript">
function disp_prompt()
{
var name=prompt("Introduceti numele dvs:", "Popescu ion");
if (name!=null && name!="")
{
document.write("Hello " + name + "! Cum te simti astazi?");
}
}
</script>
</head>
<body>
<input type="button" onclick="disp_prompt()" value="Afiseaza un prompt box" />
</body>
</html>
Conținut arhivă zip
- Java Script Exemple.ppt