How to remote include javascript?

Discussion in 'JavaScript' started by Greyhound, Jul 23, 2012.

  1. #1
    Hello folks, I need your help for my question, the detail is below:

    1. I offer free hosting service to a few of my clients and I told them I will put some ads (javascript based) on their websites. At the moment I have 2~3 ads javascript, such as adbrite, infolinks etc. However I may change those ads code in the nearly future.

    I need a method to let my clients to remote include my script file such as <script type="text/javascript" src="http://xxx.com/example.js"></script> and run all ads codes automatically. How can I do it? Thanks.

    Allen
     
    Greyhound, Jul 23, 2012 IP