Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  1. bryanfl1000

    Insert javascript into input field

    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...
  2. bryanfl1000

    Insert javascript into input field

    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"...
  3. bryanfl1000

    Insert javascript into input field

    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>'; />
  4. bryanfl1000

    Insert javascript into input field

    Call me dumb today but is this apart of a var function? What should the rest of the code do?
  5. bryanfl1000

    Insert javascript into input field

    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"...

Part and Inventory Search

Back
Top