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 TouchToneTommy 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 nissa123

  1. nissa123

    stop Javascript from outputting NaN

    Turns out I misread the details for onchange - this one works. :) Nissa
  2. nissa123

    stop Javascript from outputting NaN

    Hello Lee, The onblur works great to stop NaN from being seen. I've changed the code to: cell.innerHTML = '<input type="text" class="field100" style="text-align:right" onblur="ss_keyhandler(event)" onclick="calcactivity(this)" size="5" maxlength="5">'; The only problem is that the user must...
  3. nissa123

    stop Javascript from outputting NaN

    Thanks for the quick reply. So if I understand correctly, I should keep my keyhandler the way it is and simply return when "-" is pressed, and I should modify my code where the totals are calculated. For more info, here is more of the code. addactivity() is called from onclick in a php file...
  4. nissa123

    stop Javascript from outputting NaN

    Hello, I am new to Javascript and cannot find anything to help me with this issue. I have a table (4 rows by 7 columns initially) where the user needs to input numbers in col 1 and col 3. The total of these two columns is stored in col 5. My problem is, negative numbers are accepted values but...

Part and Inventory Search

Back
Top