Hallo,
ich habe ein Problem mit document.formular.submit();. Ich habe eine Formular mit einem Textarea was bei wenigen Zeilen ohne Probleme funktioniert. Wenn jedoch mehr als 35 Zeilen in dem Textarea angegeben werden, erhalte ich beim document.formular.submit(); einen Javascriptfehler. Das merkwürdige ist, dass es diesen Fehler nur beim Internet Explorer (Version 6, andere Versionen nicht getestet) gibt, nicht bei Netscape >=4.7. Da ich keine Submit Buttons verwenden will meine Frage, ob jemand dieses Problem kennt, und ob es dafür eine Lösung gibt. Wenn ja, welche?
MfG,
Sebastian
Sourceschnipsel:
<table border="0" width="100%" height="100%">
<tr>
<td width="100%" height="100%" valign="top">
<br><br>
<center>
Bitte geben Sie nun die Ausleitung Ihres neuen Angebotes ein<br><br><br><br>
<form name="ausleitung" method="index.php4" method="post">
<input type="hidden" name="method" value="YW5nZWJvdGU=">
<input type="hidden" name="art" value="YWRk">
<input type="hidden" name="snd_art" value="step4">
<input type="hidden" name="anbieter_id" value="1">
<input type="hidden" name="id" value="MjEyLjkzLjE0LjE0I01UUXlNVEkwT0RFeE1qTTVNekV3TXpBME5EazVNRE14TkE9PQ==">
<input type="hidden" name="description" value="terst">
<input type="hidden" name="einleitung" value="">
<input type="hidden" name="job" value="Anästhesiepflegepersonal">
<table border="0" cellspacing="0" cellpadding="0">
<tr>
<td>
<textarea rows="10" cols="72" name="ausleitung"></textarea>
</td>
</tr>
<tr>
<td align="right">
<table border="0" cellspacing="0" cellpadding="0" height="30px">
<tr>
<td>
<table border="1" cellspacing="1" cellpadding="1" width="100px">
<tr onMouseOver="setPointer(this, '#dddddd')" onMouseOut="setPointer(this, '#cccccc')" onClick="history.back(-1);">
<td bgcolor="#cccccc" width="100%" align="center">
<a href="javascript:history.back(-1);">zurück</a><br>
</td>
</tr>
</table>
</td>
<td>
<table border="1" cellspacing="1" cellpadding="1" width="100px">
<tr onMouseOver="setPointer(this, '#dddddd')" onMouseOut="setPointer(this, '#cccccc')" onClick="document.ausleitung.submit();">
<td bgcolor="#cccccc" width="100%" align="center">
<a href="javascript:document.ausleitung.submit();">weiter</a><br>
</td>
</tr>
</table>
</td>
</tr>
</table>
</td>
</tr>
</table>
</form>