title: Only float value with dot (not comma) in input - jQuery
body: <p>I would like have always only float value with dot (not comma) in my inputs.</p>
  
  <pre><code>&lt;input type="text" class="dot"&gt; &lt;br /&gt;
  &lt;input type="text" class="dot"&gt; &lt;br /&gt;
  &lt;input type="text" class="dot"&gt; &lt;br /&gt;
  
  $('.dot').keydown(function(){
          $(this).val($(this).val().toString().replace(/\,/g, '.'));  
  })
  </code></pre>
  
  <p>this replace comma to dot, but this should not be have > 1 dot and others... This should be accept only [0-9] and .</p>
  
  <p>if i type a different value than other [0-9] and . then this value should be remove - ''.</p>
  
  <p>How can i make it?</p>
  
  <p><a href="http://jsfiddle.net/ZtkBW/" rel="nofollow">http://jsfiddle.net/ZtkBW/</a></p>