开发者

Local js function to other site that will write a cookie

im the owner of domain A.com and B.com

in B.com i have handler (ashx) which writes a cookie.

now , im on A.com.

i want to call this handler from site A.com via Js(/jquery) that will activate the B.com's handler - and will write the cooki开发者_StackOverflow社区e of B.com in My browser.

does jsonP will help me here ?


i think you are looking for something like this


You already answered your own question, you can use jsonp for this. Some more info : http://api.jquery.com/jQuery.getJSON/

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜