Forum Moderators: open
I have it all working but I need to add an additional url after their affiliate id is inserted...
What I'm getting on my results is:
http://example.com/cgi-bin/clicks.cgi?CA=999999-0000&PA=666666 What I need is:
http://example.com/cgi-bin/clicks.cgi?CA=999999-0000&PA=666666&HTML=http://www.example.com/promo/mypage.html So here's the problem area of the code:
<a href="javascript:void(null)" onClick=" document.form2.linkg58url.value='http://example.com/cgi-bin/clicks.cgi?CA=999999-0000&PA=' +document.getElementById('affiliateid').value">Get Code</a> I can't figure out where to put the rest of my url:
&HTML=http://www.example.com/promo/mypage.html Inside here: .value
Or rather what to append after .value to add the rest of the needed url...?
Hope this makes sense. I'm sure it's something really dumb but for the life of this obvious newby I can't figure it out.
Thanks!
~~ SteelWidow ~~
[edited by: Fotiman at 6:59 pm (utc) on Mar. 5, 2009]
[edit reason] Examplified URLs [/edit]