title: checking if value of a textfield is integer in javascript
body: <p>How can i check is a text entered in a textbox is an integer or not? I used the NAN function but it accepts decimal values too. </p>
  
  <p>How can I do this? Is there any built-in method?</p>