This week's book giveaway is in the OO, Patterns, UML and Refactoring forum. We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line! See this thread for details.
I want to validate a form. In which i need to validate if user entered text where number is required. i come to know about isNaN () method. but it will validate floating numbers also and i want integers only. moreover how can i enable a text input only when checkbox is enabled
what i did was ( for number validation)