I know there has to be an easy solution for this one. When a text field receives an input value of 1,000 or higher - I need an alert to pop-up.

Here's my code that is not working:
function qtyFunction()

alert("Quantities 1,000+ are by special quote.");


In the qty field I have onchange="qtyFunction(this.value);" (I also tried it without this.value in parentheses - no luck.