title: Jquery UI setter error
body: <p>I have a Jquery - UI slider like this </p>
  
  <p>the HTML</p>
  
  <pre><code>&lt;div id="slider1" class="slider"&gt;&lt;/div&gt;
  </code></pre>
  
  <p>I am trying to set the slider value using the UI setter values </p>
  
  <pre><code>var value = data.listing.price;   // Setting slider value
  
      var slide = document.getElementById("slider1");
      slide.slider( "value" , value );
  </code></pre>
  
  <p>on Chrome I get the following error</p>
  
  <p>Uncaught TypeError: Object # has no method 'slider' </p>
  
  <p>I am not sure what the error is</p>