By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
437,569 Members | 1,181 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 437,569 IT Pros & Developers. It's quick & easy.

Cross domain Scripting

dmjpro
100+
P: 2,476
Basically we know that JavaScript does not support cross domain scripting.
But today i heard that Google does support cross domain scripting.
Is that true ..if true then please explain.
Jul 21 '08 #1
Share this Question
Share on Google+
1 Reply


rnd me
Expert 100+
P: 427
like the <img> tag, <script> tags can be sourced from any domain.

using a server, various entities may offer an interface to data and services using an external javascript src, somthing not prohibited by the domain restrictions. data can be sent via the tag's url and recieved in json format, or perhaps as en encoded string. the architecture is virtually identical to ajax, with only changes in the encoding and method of transfer.
Jul 21 '08 #2

Post your reply

Sign in to post your reply or Sign up for a free account.