This week's book giveaway is in the Clojure forum.
We're giving away four copies of Clojure in Action and have Amit Rathore and Francis Avila on-line!
See this thread for details.
Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

make textfield to accept numbers only

 
Jagdeep Sharma
Ranch Hand
Posts: 121
IBM DB2 Eclipse IDE Java
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Guys,

Please look at http://dev.sencha.com/deploy/dev/examples/grid/property-grid.html
if you try to edit border width and type alphabet 'a'. It won't accept. alphabet 'a' is not even visible for a second. If you type a number, it goes well. Now i want to achieve the same thing using javascript (using event handlers). How do i go about that.
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic