Opened 13 years ago
Closed 13 years ago
#9225 closed defect (invalid)
Problem using dojo.xhrGet or dojo.xhrPost
Reported by: | reiterweg | Owned by: | nic |
---|---|---|---|
Priority: | high | Milestone: | |
Component: | Core | Version: | 1.3.0 |
Keywords: | Cc: | ||
Blocked By: | Blocking: |
Description
I was trying to use dojo.xhrGet or dojo.xhrPost to get data from server, but if failed on IE8. I test the same scenario on IE7 and F3 and it works fine, without change any part of my code, just switching from one browser to another.
It always call the error handler for the request, even when the response from server was right.
Attachments (2)
Change History (6)
comment:1 Changed 13 years ago by
Resolution: | → invalid |
---|---|
Status: | new → closed |
Changed 13 years ago by
Attachment: | postxhrtest.html added |
---|
comment:2 Changed 13 years ago by
Resolution: | invalid |
---|---|
Status: | closed → reopened |
I am having the same issue. See attached test file for reproduction. I have tested with latest dojo 1.2.2 and dojo 1.3.2. Issue is only in IE8. As a work around I can add a emulateIE7 meta to the file and the issue goes away.
<meta http-equiv="X-UA-Compatible" content="IE=EmulateIE7" >
Not sure if the tabs have anything to do with this or not. Its how I use the call so I left it in.
comment:3 Changed 13 years ago by
Owner: | changed from anonymous to nic |
---|---|
Status: | reopened → new |
comment:4 Changed 13 years ago by
Resolution: | → invalid |
---|---|
Status: | new → closed |
Just add a type="button" attribute to your dijit.form.Button or return false in your handler.
Can you attach a test case or point to an URL we can try to see the failure to debug it? From the above description there is not enough information to go on. When you have a test case feel free to reopen the bug.