Skip to main content
Helium's user avatar
Helium's user avatar
Helium's user avatar
Helium
  • Member for 13 years, 5 months
  • Last seen more than 6 years ago
awarded
awarded
comment
Balancing Accounts Daily
There are incompatibilities in some older browsers, such as IE 6 and 7 and it's safer to use jQuery to select an elelment: remysharp.com/2007/02/10/ie-7-breaks-getelementbyid
comment
Balancing Accounts Daily
if (account1 == "" || account2 == "" || increm1 == "" || increm2 == "") is a bad way to check the fields. What if the user inputs something other than a number? e.g., an space char?
comment
Balancing Accounts Daily
document.getElementById may not work on all of the js enabled browsers. See e.g. this Q/A: stackoverflow.com/questions/4069982/…
awarded
answered
Loading…
awarded
awarded
revised
Eliminate duplicates from strings
added 317 characters in body
Loading…
answered
Loading…