Skip to main content

Bug Tracker

Side navigation

#3342 closed feature (wontfix)

Opened September 09, 2008 10:03AM UTC

Closed January 28, 2011 01:24AM UTC

Last modified March 14, 2012 06:48PM UTC

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: Blocking:
Description

Cross-Domain Ajax POST Patch for jQuery 1.2.5

1. function:

jQuery.Ajax can post to cross-domain

2. install:

files:patch_for_jQuery 1.2.5.txt index.html ajax_post.php

modify 'site.com' to you domain.

3. visit index.html

Attachments (1)
Change History (11)

Changed September 09, 2008 05:18PM UTC by flesler comment:1

cc: → HonestQiao, flesler
milestone: 1.2.51.3
need: PatchReview

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.

Changed October 21, 2010 08:49PM UTC by rwaldron comment:2

priority: majorlow
resolution: → wontfix
status: newclosed

This patch is way out of date.

Changed October 21, 2010 08:56PM UTC by rwaldron comment:3

milestone: 1.3
resolution: wontfix
status: closedreopened

Changed October 21, 2010 08:57PM UTC by rwaldron comment:4

cc: HonestQiao, fleslersnover
owner: → HonestQiao
status: reopenedpending

Please provide an updated patch for this request.

Changed October 21, 2010 09:01PM UTC by snover comment:5

keywords: Croos-Domain POSTCORS XMLHttpRequest XDomainRequest
status: pendingopen
summary: Cross-Domain Ajax POST Patch for jQuery 1.2.5Support POST for cross-domain AJAX requests
version: 1.2.51.4.3

Changed October 23, 2010 08:09AM UTC by snover comment:6

blockedby: → 7195

Changed December 27, 2010 10:36PM UTC by rwaldron comment:7

keywords: CORS XMLHttpRequest XDomainRequestCORS,XMLHttpRequest,XDomainRequest,ajaxrewrite

Changed December 27, 2010 10:41PM UTC by snover comment:8

keywords: CORS,XMLHttpRequest,XDomainRequest,ajaxrewriteCORS XMLHttpRequest XDomainRequest ajaxrewrite

Changed January 09, 2011 03:57PM UTC by jaubourg comment:9

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.

Changed January 28, 2011 01:24AM UTC by jitter comment:10

keywords: CORS XMLHttpRequest XDomainRequest ajaxrewriteCORS XMLHttpRequest XDomainRequest
milestone: → 1.5
resolution: → wontfix
status: openclosed
version: 1.4.31.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.

Changed February 15, 2011 04:08PM UTC by jitter comment:11

#8283 is a duplicate of this ticket.