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 Rhinorhino on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Recent content by Justin2k

  1. Justin2k

    Removing a number from a text box and putting it in a cookie

    Thanks Dan, got it sorted now. Your answer is nearly correct. This is what l've used to get it to work: onblur="ChangeNumber(\' '+pieces[1]+'\',this.value);" Needed to put it in quotes. &:-)
  2. Justin2k

    Removing a number from a text box and putting it in a cookie

    Ok, l've managed to get the function to be called but only when l specify the first element of 'onblur' (e.g. Smoking). document.write('<input name="amount'+j+'" type="text" id="amount_'+j+'" value="'+pieces[2]+'" onblur="ChangeNumber(\'Smoking\',this.value);" size="2" maxlength="2"/>'); What...
  3. Justin2k

    Removing a number from a text box and putting it in a cookie

    Thanks Dan, unfortunately that doesn't seemed to have helped. In I.E nothing happens when l change the value in the text box. (i.e the cookie is not updated). And in Netscape l get the error: Error: missing ) after argument list Source Code: ChangeNumber(Substance Abuse,this.value); This...
  4. Justin2k

    Removing a number from a text box and putting it in a cookie

    Hi, what l want to do is once a user has changed an amount (which will be a number between 1 & 99) in a text box, l want a cookie, which contains a list of information about various items, to be updated. i.e to change one items amount to the value the user just placed in the text box. The...

Part and Inventory Search

Back
Top