Probleme when validating a form in javascript

Problems with the Linux version of XAMPP, questions, comments, and anything related.

Probleme when validating a form in javascript

Postby jefferson999 » 10. November 2009 13:59

My problem is for a form made in javascript.
When I submit the data it tells me to download a file.

This is the source code:

<script language=javascript>
function submit_form()

<form method="post" action="" name="connection">
<img class="logo" src="images/security.png" border=0><h1><?php echo $trans['connect'];?></h1>
<div class="login"><?php echo $trans['login'];?> :</div><div class="pwd"><?php echo $trans['pwd'];?> :</div>
<div class="logininput"><input type="text" id="login" name="login"></div>
<div class="pwdinput"><input type="password" id="pwd" name="pwd"></div>
<div class="boxbtn valid"><a href="javascript:submit_form()">

Posts: 1
Joined: 10. November 2009 13:53

Return to XAMPP for Linux

Who is online

Users browsing this forum: No registered users and 2 guests