开发者

Dojo send Form to php-file then get the response in a div tag

hallo, i would like to try a simple xmlhttprequest example to post a form to a php-file, the php-file reads the elemsnts value then give it back to a div tag, it works with a tradional code, 开发者_StackOverflowbut not with dojo, a get an error (firebug) thant sent is aborted, so this ist the content of test.html content of test.php: echo $_POST['text']; thank you.


I've got the same issue but only in one of my forms.

I suspect it is because of the vast amount of data submitted and it times out before the response.

So, to make sure it waits for the callback, I've added:

 sync: true

That seems to do it.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜