ph0ngwh0ng wrote:
> Hi,
>
> I am building a simple form with a textarea and a submit button. The
> problem is that when there is more than about 1700-1800 characters in
> the textarea, the form won't submit(you can click the button but
> nothing happens). The problem appears on Windows 2000 SP4 with the
> latest fixes for IE. Problem is not happening on XP machines.
>
> Here is my form declaration:
>
> <form name="Modification" method="get" action="/test/do_modif.php">
>
> <p>
> <textarea name="texte1" rows="10" maxlength="32000" wrap=virtual
> cols="70">Insert long text here</textarea><BR>
>
> <input type="button" name="submit" value="Soumettre les changements"
> ONCLICK="this.form.submit()">
> </p>
>
> </form>
>
> A regular input type="submit" doesnt work either.
>
> Thanks
>
> Alexandre Brizard
You are using METHOD="GET", which attempts to send the contents of the
form on the URL. The maximum length of a URL in IE is somewhere around
2000 characters. Although the server _might_ be able to handle it, IE has
taken the approach to not submit the form when the URL length exceeds
some internal limit.
Use METHOD="POST" and you won't have this problem.
--
Grant Wagner <>
comp.lang.javascript FAQ -
http://jibbering.com/faq