Support Forums
Javascript Help. Form Submission. - Printable Version

+- Support Forums (https://www.supportforums.net)
+-- Forum: Categories (https://www.supportforums.net/forumdisplay.php?fid=87)
+--- Forum: Webmaster Support (https://www.supportforums.net/forumdisplay.php?fid=36)
+---- Forum: Website Development (https://www.supportforums.net/forumdisplay.php?fid=43)
+---- Thread: Javascript Help. Form Submission. (/showthread.php?tid=15955)



Javascript Help. Form Submission. - JohnRonder - 02-01-2011

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?