title: How to tell if a jQuery slider (knob) is focused?
body: <p>I have a page with jQuery sliders, and moving those sliders sends values to a server. At the same time, the server is queried every second to get current state (for all fields on the page).</p>
  
  <p>So I need to know if a slider (knob) is focused, or otherwise being toyed with, so the ajax code that sets values returned from the server can avoid trying to set the focused slider. Otherwise it bounces around while trying to move the slider.</p>
  
  <p>Current code:</p>
  
  <pre><code>// Called by ajax's return from server, v is the server's value, to set on this slider
  function ReportObjectSize (v)
  {
      $('#slider_objsize').slider("option", "value", v);
  }
  </code></pre>
  
  <p>and what I'm thinking I need is something like:</p>
  
  <pre><code>function ReportObjectSize (v)
  {
    if (!$('#slider_objsize').slider.IsFocused()) // Some way to tell if it's focused
      $('#slider_objsize').slider("option", "value", v);
  }
  </code></pre>
  
  <p>or maybe there's a better way to do this in general?</p>