Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.javascript > #7606
| From | laredotornado <laredotornado@zipmail.com> |
|---|---|
| Newsgroups | comp.lang.javascript |
| Subject | Re: Trouble submitting POST ajax request on Chrome: INVALID_STATE_ERR: DOM Exception 11 |
| Date | 2011-10-21 11:07 -0700 |
| Organization | http://groups.google.com |
| Message-ID | <80a7f3ba-09da-4afd-b4df-af8ba2b267e4@u2g2000yqi.googlegroups.com> (permalink) |
| References | <2ffdd562-40f4-4cf5-b0bf-9768ace1f729@c25g2000yqn.googlegroups.com> <4ea1a842$0$6626$9b4e6d93@newsspool2.arcor-online.net> |
On Oct 21, 12:13 pm, Martin Honnen <mahotr...@yahoo.de> wrote:
> laredotornado wrote:
> > I'm trying to submit a framework-independent post ajax request, but
> > running into some errors on Google Chrome (Firefox and IE seem to work
> > fine). Specifically, I receive the error, "Uncaught Error:
> > INVALID_STATE_ERR: DOM Exception 11" on this line
>
> > ajaxRequest.setRequestHeader("Content-type", "application/x-www-form-
> > urlencoded");
> > ajaxRequest.setRequestHeader("Content-type", "application/x-www-form-
> > urlencoded");
> > ajaxRequest.open("POST", "save", true);
> > ajaxRequest.send(params);
> > }
>
> First call the open method, then set any request headers.
>
> --
>
> Martin Honnen --- MVP Data Platform Development
> http://msmvps.com/blogs/martin_honnen/
Thanks, Martin. That solved the issue, - Dave
Back to comp.lang.javascript | Previous | Next — Previous in thread | Find similar
Trouble submitting POST ajax request on Chrome: INVALID_STATE_ERR: DOM Exception 11 laredotornado <laredotornado@zipmail.com> - 2011-10-21 10:03 -0700
Re: Trouble submitting POST ajax request on Chrome: INVALID_STATE_ERR: DOM Exception 11 Martin Honnen <mahotrash@yahoo.de> - 2011-10-21 19:13 +0200
Re: Trouble submitting POST ajax request on Chrome: INVALID_STATE_ERR: DOM Exception 11 laredotornado <laredotornado@zipmail.com> - 2011-10-21 11:07 -0700
csiph-web