Tuesday, 17.07.2018, 6:28 AM
Welcome Guest | RSS
Main | News | Sign Up | Login
Search
Menu
4e
Main » 2013 » March » 1 » Javascript dopuna
3:51 PM
Javascript dopuna
<html>
<head>
<script>
    function pozdrav()
    {
    ime=window.prompt("Unesi ime");
    prijatelj=window.prompt("Unesi ime prijatelja");
    document.write("Pozdrav "+ime+"! Prijatelj ti je "+prijatelj+"!");
    }
</script>
</head>
<body onload="pozdrav()">
</body>
</html>

Views: 394 | Added by: Administrator | Rating: 0.0/0
Create a free website with uCoz