Win a copy of Think Java: How to Think Like a Computer Scientist this week in the Java in General 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
  • 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.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic