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 Westi 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. SpeedyDuh

    Tooltips for textarea fields

    I'm trying to figure out how to make tooltip appear next to textarea when user starts typing into it, i presume i have to use onChange to catch it, but how to make the tooltip appear where i want it to? All the tooltip examples and tutorials out there make the tip be attached to your mouse...
  2. SpeedyDuh

    Formatting text field while user types to it

    This seems like a hairy problem so i've been thinking alternative solutions.. Would it be possible to feed in "right arrow" pressed signal to the web page from the javascript? So that when i press 4, the script notices this as it's getting onKeyUp in anyway, then at the end of the script after...
  3. SpeedyDuh

    Formatting text field while user types to it

    It is more elegantly packaged and works like my script. Problem is that when i press key and enter 4th value (4), string '1234' is sent to addComma() and when it returns string '1,234' the string is suddenly 5 characters long. The blinking cursor doesn't realize this and the cursor stays...
  4. SpeedyDuh

    Formatting text field while user types to it

    Ok, this is the code currently: calling part from html: onKeyUp="return validate('source-id') // JavaScript Document function insertCommas(v) { var sVar = v.toString(); var sReturn = ''; var iCommas; var iCommaAfter; var j = 0; if(sVar.length <= 3) { return sVar; } iCommas =...
  5. SpeedyDuh

    Formatting text field while user types to it

    The goal of this script is to insert thousand separators into number string as the user types the number to avoid confusion when numbers get longer, like up to billion. I have achieved this on internet explorer but i'm strugling to get it crossplatform compatible. 123456789 as example string...

Part and Inventory Search

Back
Top