haydenm92
Junior Member
- Apr 24, 2008
- 142
- 40
Does anyone know how to call the C.P.A.Lead script from another file in html?
So say I have my page.html and I want to include a script in that page.html to include my c.p.a.lead script from another file. I've found a few sources on the net talking about it, but I've tried it a few times and I can't get it figured out.
I include a <SCRIPT SRC="http://mysite.com/gateway.js"></SCRIPT> in the <head> tags of my page.html. Then in my gateway.js I copy and paste the c.p.a.lead gateway code:
However, in my page.html file it's not pulling my script from gateway.js file. I'm not to savvy with Javascript, so if anyone knows how to do this, that would be great.
Thanks!
So say I have my page.html and I want to include a script in that page.html to include my c.p.a.lead script from another file. I've found a few sources on the net talking about it, but I've tried it a few times and I can't get it figured out.
I include a <SCRIPT SRC="http://mysite.com/gateway.js"></SCRIPT> in the <head> tags of my page.html. Then in my gateway.js I copy and paste the c.p.a.lead gateway code:
Code:
<script type="text/javascript" src="http://www.**************.com/mygateway.php?pub=13343&gateid=MTEwODI%3D"></script>
However, in my page.html file it's not pulling my script from gateway.js file. I'm not to savvy with Javascript, so if anyone knows how to do this, that would be great.
Thanks!