Hey, I need to convert this javascript code into iframe. The javascript goes into a server and brings out an ad banner. The X's is the server IP.
<script language="javascript" type="text/javascript" src="http://XXX.XXX.XXX.XXX/blahblah/0000/blahblahblah.php"></script>
What I need to do is convert that line of code into an iframe format so that it does the same job of going into the server and pulling out the banner. Right now if I just add on the iframe tags, all it does it return the server info.
<iframe src="http://XXX.XXX.XXX.XXX/blahblah/0000/blahblahblah.php"></iframe>
What I need is for the banner ad itself to be returned, not the server info. I'm not knowledgeable with converting from javascript to iframe, can anyone give me some help?
EDIT: Something else I realized is that if I just put in <iframe></iframe>, it still returns server info even though I never specified a target URL src.