need JavaScript Help

Started on the old forum in September 2012 · view the original in the archive · old links redirect here

3 replies · 523 views · started 14 years ago · 1 min read

2 participants
razor Developer · 52 posts #1

i am trying this but not being !

code here this:

<script type="text/javascript">
var uid=3;
var adult=1;

var av_path="http://adzvilla.com/serve/index.php?UID="+uid+"&ADULT="+adult;
document.write('<script type="text/javascript" src="'+av_path+'"></sc')
document.write('ript>')
</script>   
<noscript><a href="http://adzvilla.com/serve/ads/3/adult">Great mobile sites</a></noscript>

if i do document.write(av_path) then it will show http://adzvilla.com/serve/index.php?UID=3&ADULT=1 and exactly this is needed, but next there may be something wrong happening in my code , how can i search the content of that page using the javascript, i mean i need to show ads using the js from the following page http://adzvilla.com/serve/index.php?UID=3&ADULT=1 what will be the correct code anybody can help me ?

something else Fellow · 2,296 posts #2

The Correct way of doing it is: (No need for document.write on the clients side)

<script type="text/javascript" src="http://adzvilla.com/serve/index.php?UID=3&ADULT=1""></script>

You are trying to call on an external javascript file, however the file contains no javascript making your code fail

razor Developer · 52 posts #3

something else wrote: The Correct way of doing it is: (No need for document.write on the clients side)

<script type="text/javascript" src="http://adzvilla.com/serve/index.php?UID=3&ADULT=1""></script>

You are trying to call on an external javascript file, however the file contains no javascript making your code fail

its not working , check here domo link i just put the code http://adzvilla.com/a.php

Sign in to reply.

Similar topics

Keyboard shortcuts

g f
Go to forums
g h
Go to your feed
g m
Go to messages
r
Reply (in a topic)
/
Search
j
Next post
k
Previous post
?
This list
Ctrl/⌘ + Enter
Send what you are writing
Ctrl/⌘ + B / I
Bold / italic while writing
Esc
Close