P
ppy
Hello!
i've got a form:
Witam!
mam formę:
<form name="form1" method="post" action="/">
<table border="0" cellspacing="0" cellpadding="1">
<tr>
<td>Login:</td>
<td><input name="login" type="text" size="12"></td>
</tr>
<tr>
<td>Hasło:</td>
<td><input name="haslo" type="password" size="12"></td>
</tr>
<tr align="right">
<td colspan="2"><a href="#" class="aakcja"
onclick="this.form.submit();">login</a></td>
</tr>
</table>
</form>
1. when I click on "login" a get an error "this.form is empty or
......" WHY?
2. when I enter a login and press ENTER there is no action? Form isn't
submitted! WHY? WHAT'S WRONG
i've got a form:
Witam!
mam formę:
<form name="form1" method="post" action="/">
<table border="0" cellspacing="0" cellpadding="1">
<tr>
<td>Login:</td>
<td><input name="login" type="text" size="12"></td>
</tr>
<tr>
<td>Hasło:</td>
<td><input name="haslo" type="password" size="12"></td>
</tr>
<tr align="right">
<td colspan="2"><a href="#" class="aakcja"
onclick="this.form.submit();">login</a></td>
</tr>
</table>
</form>
1. when I click on "login" a get an error "this.form is empty or
......" WHY?
2. when I enter a login and press ENTER there is no action? Form isn't
submitted! WHY? WHAT'S WRONG