Forum Moderators: mack
<html>
<head>
<link rel='stylesheet' type='text/css' href='css/style.css'>
<script type='text/javascript'>function changeurl(){parant.banner.location.href='menu.php'}</script>
</head>
<body [body]>
<form method='POST' action='login.php'>
Write username:<input type text='text' name='login_name'><br>
Write password:<input type text='text' name='password'><br>
<input type='submit' value='submit' onclick='changeurl()'>
</form>
</body>
</html>
This Javascript should update the iframe "banner" with the file "menu.php", but it don't work. Nothing happens. I looked at www.w3schools.com for help, but with out any luck.
If you need more information, please post it.
Please help. I need this to my project at school. :-)