PDA

View Full Version : generating test link



tijan
Mar 27th, 2007, 11:59 AM
I tried generating test link from javascript like this:

<script language='javascript' type='text/javascript'>
var r=document.referrer;
var counter = new Object();
counter.src = 'http://www.abc.com/affiliate/get_trackingcode.php?aid=900&linkid=B956&r='+r;
</script><script src=http://www.abc.com/affiliate/get_trackingcode.php?aid=900&linkid=B956>
</script>

Any help please.