This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
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 Murach's Java Servlets and JSP this week in the Servlets 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
Author

On propertychange issues with text value

alexis gaitan
Greenhorn

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: http://aspose.com/file-tools
 
subject: On propertychange issues with text value
 
Similar Threads
JavaScript Image properties not immediately available?
Passing Value from Javascript method into HTML Body
How to getParameter value
spaces while populating using s:iterator
A javascript to submit a form works in Firefox, but not in IE