title: Load a new value into an input from PHP with jQuery?
body: <p>I have some input like:</p>
  
  <pre><code>'&lt;input type="text" name="display-count" class="display-count" value="23" autocomplete="off" readonly="readonly" /&gt;';
  </code></pre>
  
  <p>And I'm using this jQuery code to remove the value it has and replace it with another one:</p>
  
  <pre><code>var count = $('form.user-count-form').find('.display-count');
  $(count).val('');
  $(count).load("admin/user-count.php");
  </code></pre>
  
  <p>But the new value it isn't loaded. I have tried some other ways like: </p>
  
  <pre><code>$(count).val().load("admin/user-count.php");
  </code></pre>
  
  <p>or</p>
  
  <pre><code>$(count).val(load("admin/user-count.php"));
  </code></pre>
  
  <p>But didn't work as well. How do I do what I want ?</p>