#3342 closed feature (wontfix)
Support POST for cross-domain AJAX requests
Reported by: | HonestQiao | Owned by: | HonestQiao |
---|---|---|---|
Priority: | low | Milestone: | 1.5 |
Component: | ajax | Version: | 1.4.4 |
Keywords: | CORS XMLHttpRequest XDomainRequest | Cc: | snover |
Blocked by: | #7195 | Blocking: |
Description
Cross-Domain Ajax POST Patch for jQuery 1.2.5
- function:
jQuery.Ajax can post to cross-domain
- install:
files:patch_for_jQuery 1.2.5.txt index.html ajax_post.php modify 'site.com' to you domain.
- visit index.html
Attachments (1)
Change History (12)
Changed 15 years ago by
Attachment: | cross-domain_ajax_post.zip added |
---|
comment:1 Changed 15 years ago by
Cc: | HonestQiao flesler added |
---|---|
Milestone: | 1.2.5 → 1.3 |
need: | Patch → Review |
Ok, thanks for all the data. So you propose to create an iframe, add a form, include as many input elements as POST fields and submit it.
IMO it may work, but seems like an aggressive approach to do such a thing. Adding iframes can cause unexpected behaviors.
I'll ask around, thanks.
comment:6 Changed 13 years ago by
Priority: | major → low |
---|---|
Resolution: | → wontfix |
Status: | new → closed |
This patch is way out of date.
comment:7 Changed 13 years ago by
Milestone: | 1.3 |
---|---|
Resolution: | wontfix |
Status: | closed → reopened |
comment:8 Changed 13 years ago by
Cc: | snover added; HonestQiao flesler removed |
---|---|
Owner: | set to HonestQiao |
Status: | reopened → pending |
Please provide an updated patch for this request.
comment:9 Changed 13 years ago by
Keywords: | CORS XMLHttpRequest XDomainRequest added; Croos-Domain POST removed |
---|---|
Status: | pending → open |
Summary: | Cross-Domain Ajax POST Patch for jQuery 1.2.5 → Support POST for cross-domain AJAX requests |
Version: | 1.2.5 → 1.4.3 |
comment:10 Changed 13 years ago by
Blocked by: | 7195 added |
---|
comment:11 Changed 12 years ago by
Keywords: | ajaxrewrite added |
---|
comment:12 Changed 12 years ago by
Keywords: | CORS,XMLHttpRequest,XDomainRequest,ajaxrewrite → CORS XMLHttpRequest XDomainRequest ajaxrewrite |
---|
comment:13 Changed 12 years ago by
You can already do that on browsers that support cors (jQuery.support.cors) with no iframe hacks. With the new architecture, adding an iframe based transport shouldn't be an issue but clearly is best suited for a plugin imo.
comment:14 Changed 12 years ago by
Keywords: | ajaxrewrite removed |
---|---|
Milestone: | → 1.5 |
Resolution: | → wontfix |
Status: | open → closed |
Version: | 1.4.3 → 1.4.4 |
The new ajax rewrite makes it easy to write a plugin which provides a transport to handle cross-domain request cross-browser. For the moment being this won't be done in core directly and thus is best suited for a plugin.
Patch file