coldfusion ajax jquery cross-domain -


i'm new cross-browser ajax issues. i'm using following code, doesn't work if cfc on domain , need rewrite it.

$.getjson(cfroot + "/series.cfc?method=getsrdetailedtable&returnformat=json&queryformat=column", {"seriesid":seriesid,"inserttempdata":true}, function(res,code) {     //code here }); 

i've played examples ben nadel , few others, can't happening. constructive examples or hugely appreciated. doesn't need use getjson(). can post too. tend use getjson out of habit. in scenario, function performs calculations , updates table. doesn't data.

the cfc huge, following first line:

<cffunction name="getsrdetailedtable" output="false" returntype="query" access="remote"> 

i'm not sure understood question, noticed "another domain", if case here's need read crossdomain ajax calls, possibilities , limitations:

http://www.ibm.com/developerworks/library/wa-aj-jsonp1/

http://jquery-howto.blogspot.com/2009/04/cross-domain-ajax-querying-with-jquery.html


Comments

Popular posts from this blog

Javascript line number mapping -

c# - Is it possible to remove an existing registration from Autofac container builder? -

php - Mysql PK and FK char(36) vs int(10) -