E
Eldert Besseling
Hi,
I have a problem with my HTML code in combination with javascript
hereby the code:
<!-----------------------------------------------
<html>
<head>
<base target=hoofdscherm>
<link rel='stylesheet' type='text/css' href='stldata.css'>
<SCRIPT LANGUAGE='javascript'>
function check(f)
{
alert("jaja");
}
</SCRIPT>
<form method='GET' action='data00.bgi' name='f2'>
</head>
<table border='0' cellpadding='0' cellspacing='0' width=100%>
<tr>
<td> pagina <input type='text' size=10 maxlength='4' name=pagtable
value=10> van 20
<p><input type="submit" value="Verzenden" name="B3"
onclick="javascript:return check(f1)"></p>
</form>
</td>
<!-- <td width=0 height=0 colspan="2"><input type='text' size=0></td> -->
</tr>
</table>
</form>
</html>
------------------------------------------------>
When i change the value in the input box following by a carriage return the
GET action is taken but the javascript from the submit button is not
running.
When activate the: <!-- <td width=0 height=0 colspan="2"><input type='text'
size=0></td> --> line and type carriage return the javascript is running!
The javascript must always run to check the input.
Can you help me?
Regards,
Eldert
I have a problem with my HTML code in combination with javascript
hereby the code:
<!-----------------------------------------------
<html>
<head>
<base target=hoofdscherm>
<link rel='stylesheet' type='text/css' href='stldata.css'>
<SCRIPT LANGUAGE='javascript'>
function check(f)
{
alert("jaja");
}
</SCRIPT>
<form method='GET' action='data00.bgi' name='f2'>
</head>
<table border='0' cellpadding='0' cellspacing='0' width=100%>
<tr>
<td> pagina <input type='text' size=10 maxlength='4' name=pagtable
value=10> van 20
<p><input type="submit" value="Verzenden" name="B3"
onclick="javascript:return check(f1)"></p>
</form>
</td>
<!-- <td width=0 height=0 colspan="2"><input type='text' size=0></td> -->
</tr>
</table>
</form>
</html>
------------------------------------------------>
When i change the value in the input box following by a carriage return the
GET action is taken but the javascript from the submit button is not
running.
When activate the: <!-- <td width=0 height=0 colspan="2"><input type='text'
size=0></td> --> line and type carriage return the javascript is running!
The javascript must always run to check the input.
Can you help me?
Regards,
Eldert