title: JavaScript: How do I convert input that contains commas from a user to a number?
body: <p>When I'm inputting test values, numbers to be specific, into my pay calculation script, it works fine (Ex. 10000). But when I input a test value with a comma (think "10,000" or "$10,000"), the script reads the values up to where the comma would (think "10" instead of "10,000". How would I resolve this issue.</p>