title: jQuery UI sliders on touch devices
body: <p>I'm developing a website using jQuery UI, and there are several elements on my site that appear to be incompatible when viewed on touchscreen devices; they don't cause any errors, but the behavior is not what it should be.</p>
  <p>The elements in question are sliders and rangesliders as defined by jQuery UI; on the touch screen, instead of registering a touch as picking up a handle and a drag as dragging the handle across the slider, it just slides the whole webpage to the side of the screen. It does work if you tap the handle and then tap the location on the slider where you want the handle to end up, but this is very slow and not ideal. Any ideas?</p>
  <p>I tried downloading the jqtouch plugin and then attaching <code>.touch([...])</code> to all calls to slider() and rangeslider(), but that didn't work.</p>
  <p>UPDATE: I found this &quot;patch&quot; on the jQuery UI website</p>
  <p><a href="http://bugs.jqueryui.com/ticket/4143" rel="nofollow noreferrer">http://bugs.jqueryui.com/ticket/4143</a></p>
  <p>that says it facilitates slider on iPhone, but now for another question: how do I incorporate this &quot;patch&quot; into my code? Do I just include it at the beginning of the code like a plugin?</p>