Here is the code you were asking about:
<?PHP
#############################################################
## iDevAffiliate Version 5.2
## Copyright - iDevDirect.com L.L.C.
## Website: http://www.idevdirect.com/
## Support: http://www.idevsupport.com/
## Email: support@idevdirect.com...
Sorry about that. What I want to do is have the javascript string (which displays the affiliate email address) be inserted into and input field so that when a form is filled out he gets credit for the sale:
This javascript displays the affiliate email address:
<script language="JavaScript"...
So should it look like this?
<input name="emailagent" type="HIDDEN" class="textfield" id="emailagent" document.getElementById('Email').value = '<script language="JavaScript" type="text/javascript" src="http://www.ABC.com/members/display.php?token=email"></script>'; />
How do I insert this: <script language="JavaScript" type="text/javascript" src="http://www.ABC.com/members/display.php?token=email"></script>
Into the values of this:
<input id="Email" name="Email" type="text" size="30" /><input name="emailagent" type="HIDDEN" class="textfield" id="emailagent"...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.