hi
i have two site (site1 and site2)
how to i can send a script from site1 to site2 and after it run it script in site2
please help me
Loading
Know the answer? Post it — somebody with the same question will find it here.
Sign in to answer this question
It is the same account you read, post and publish with — and you will come straight back to this page.
Vahid BakhtiaryPosted Mar 16, 2012, 5:16 AM
i have a master site and many sites
i have a module chat and helpdesk
and i'll in master site when a script send to another site (with ajax or jason or jqury ....) and into the site run my script
please help me
thanks
Gohil JayendrasinhPosted Mar 16, 2012, 2:02 AM
Hi
You include both javascript and css file using this function
function myFunction(){
var javascriptarray =
["www.google.com/sample.js ", " www.google.com/sample2.js ", " www.google.com/sample3.js ", " www.google.com/sample4.js "];
if (filetype=="js"){ //if filename is a external JavaScript fileelse if (filetype=="css"){ //if filename is an external CSS fileIf it's helpful for you then please check Accepted Asnwers
SenthilkumarPosted Mar 15, 2012, 8:59 PM
You can include any other javascript file using the script tag.