I use a ad rotation service which uses some javascript code to rotate ads on my website.
it's like this
So instead of putting the above code on each and every web page on my website I decided to copy the code to ads.js file and use this code to embed in the html file
at the exact same spot where I needed the ad to be shown.
But I have problems. IE says javascript error and doesn't show the ad. Do I have to remove the script and no script tags from ad.js?
it's like this
Code:
<script language="Javascript">
//banner rotate code
</script>
<noscript>
//for non-js people
</noscript>
So instead of putting the above code on each and every web page on my website I decided to copy the code to ads.js file and use this code to embed in the html file
Code:
<script lanuguage="Javascript" src="/ad.js"></script>
at the exact same spot where I needed the ad to be shown.
But I have problems. IE says javascript error and doesn't show the ad. Do I have to remove the script and no script tags from ad.js?

