title: How to client side validate integer
body: <p>Basically I want the user of my site (ASP.NET MVC 4) to be able to increase his balance (input in a textbox).
  I know how to do that if the integer was an integer of a model, however how can I do it with just a bare integer.</p>
  
  <pre><code>@Html.TextBox("Deposit")
  </code></pre>
  
  <p>I want to make sure that when the textbox is submitted, only integers are contained (on client side).
  How can I do this without making a model of the integer and writing a textbox for the model attribute?</p>