title: How to set jQuery spinner max and min values?
body: <p>i've faced the next problem:
  I'm using jQuery + ajax and I want my spinner's max and min values to be set after the data is obtained from the sever. But the real situation is that when I check the element with firebug, it says, that max and min values are set and in reality they aren't, so there is no max and min values.
  here is some code:</p>
  
  <pre><code>...
  &lt;input type="number" id ="spinId" name="someName" step="0.5" /&gt;
  ...
  $("#spinId").attr('min', 0.0);
  $("#spinId").attr('max', parseFloat($('.someClass').text()));
  ...
  </code></pre>
  
  <p>and this .someClass is formed via ajax.
  also I noticed that value is set properly, i.e. <code>$('#spinId').attr('value',ValueFromServer);</code> works fine.
  so what should I do to fix it?</p>