Event On submit

Event On submit

<html>
<head>
<script>

function confirmInput()
{
fname=document.forms[0].fname.value;
alert(“Hello ” + fname + “! You will now be redirected to www.paktutorial.com”);
}

</script>
</head>
<body>
<form action=”http://www.paktutorial.com/”>
Enter your name: <input type=”text” size=”20″>
<input>
</form>
</body>
</html>

DOWNLOAD SOLUTION HERE