Support Forums

Full Version: Javascript Help. Form Submission.
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Code:
<form action="login.php" method="post" name="logForm" id="logForm" >
<img src="/css/login/L1.png" class="pngimg" />';
<div><a href="javascript:document.logForm.submit();"><img src="9.png" alt="Login" class="pngimg" border="0" /></a></div>

I have that code above, I did simplyfy it a little, but its the main thing I need. Javascript submit will just refresh the page for some reason, it won't bring me to login.php? Anyone know why?