title: JQuery: Change value when value of other input field is changed with a range of numbers
body: <p>I was wondering if someone can help me develop this in Jquery (mobile): </p>
  
  <p>I want to make two text fields, in the first one you have to enter a number and in the other one I want to see a result. I mean something like this:</p>
  
  <p><strong>example 1:</strong></p>
  
  <pre><code>textfield 1: 220 till 285 &lt; input
  
  textfield 2: 1 &lt; result
  </code></pre>
  
  <p><strong>example 2:</strong></p>
  
  <pre><code>textfield 1: 286 till 350 &lt; input
  
  
  textfield 2: 2 &lt; result
  </code></pre>
  
  <p><strong>example 3:</strong></p>
  
  <pre><code>textfield 1: 351 till 415 &lt; input
  
  textfield 2: 3 &lt; result
  </code></pre>
  
  <p>This must happen automatically and not with pressing a button, etc., <a href="http://jsfiddle.net/DigitalBiscuits/QWSQp/71/" rel="nofollow">like this method</a></p>
  
  <p>UpdATE!
  What i mean is more a range like this: input: for example the numberrange 220 till 285 will result in 1. 286 till 350 in 2. 351 till 415 in 3. So all the numbers between for example 351 - 415 must has 3 as output</p>