File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes HTML, CSS and JavaScript and the fly likes On propertychange issues with text value Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Engineering » HTML, CSS and JavaScript
Bookmark "On propertychange issues with text value" Watch "On propertychange issues with text value" New topic

On propertychange issues with text value

alexis gaitan

Joined: Feb 17, 2011
Posts: 1
Hi i have an payment app like that i put an alert code so when i insert in machine 1 dollar the value="" changes to 1 so text input shows number i tried to make alert on propertychange i mean: when text value its > = 1 then shows alert telling that value changed to 1 or 2 3 4 but now its show me alert when its 0 and 1 too i only want > = 1 what im doing wrong?

here is part of html code:

here is javascript:

thanks in advance
I agree. Here's the link:
subject: On propertychange issues with text value
Similar Threads
A javascript to submit a form works in Firefox, but not in IE
spaces while populating using s:iterator
JavaScript Image properties not immediately available?
How to getParameter value
Passing Value from Javascript method into HTML Body