Win a copy of Mesos in Action this week in the Cloud/Virtualizaton forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

On propertychange issues with text value

 
alexis gaitan
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic