Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Javascript Help. Form Submission.
#1
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?
[Image: gviF7.gif]
"We've all heard that a million monkeys banging on a million typewriters
will eventually reproduce the entire works of Shakespeare.
Now, thanks to the Internet, we know this is not true." - Robert Wilensky
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  Free Worker HTML, CSS, Javascript ImFocuzz 2 1,084 04-05-2014, 10:01 PM
Last Post: VHPanda
  Contact form for HTML Crystal 36 8,551 05-24-2013, 05:51 PM
Last Post: Akai
  [MyBBError Message] PLEASE HELP ME!! Enable Javascript Registration Error iRun 4 1,613 01-26-2012, 03:13 PM
Last Post: iRun
  [TUT] Contact Form using HTML/PHP Captain Straight Edge 29 5,532 08-17-2011, 09:49 AM
Last Post: -Infectious
  Close Tab With Javascript. Qua 3 1,210 07-02-2011, 07:25 AM
Last Post: djakariuz

Forum Jump:


Users browsing this thread: 1 Guest(s)