title: uncaught exception: cannot call methods on slider prior to initialization; attempted to call method 'disable'
body: <p>The following block of code works:</p>
  
  <pre><code>$("#data\\[User\\]\\[notify_one_day_out\\]").val("0");
  $('#data\\[User\\]\\[notify_one_day_out\\]').slider('disable');
  $('#data\\[User\\]\\[notify_one_day_out\\]').slider('refresh');
  
  $("#data\\[User\\]\\[notify_one_week_out\\]").val("0");
  $('#data\\[User\\]\\[notify_one_week_out\\]').slider('disable');
  $('#data\\[User\\]\\[notify_one_week_out\\]').slider('refresh');
  
  $("#data\\[User\\]\\[notify_one_month_out\\]").val("0");
  $('#data\\[User\\]\\[notify_one_month_out\\]').slider('disable');
  $('#data\\[User\\]\\[notify_one_month_out\\]').slider('refresh');
  
  $("#data\\[User\\]\\[notify_on_release_date_change\\]").val("0");
  $('#data\\[User\\]\\[notify_on_release_date_change\\]').slider('disable');
  $('#data\\[User\\]\\[notify_on_release_date_change\\]').slider('refresh');
  
  $("#data\\[User\\]\\[notify_available_for_purchase\\]").val("0");
  $('#data\\[User\\]\\[notify_available_for_purchase\\]').slider('disable');
  $('#data\\[User\\]\\[notify_available_for_purchase\\]').slider('refresh');
  </code></pre>
  
  <p>when I try replacing the above with the following to condense the code:</p>
  
  <pre><code>      $('[id^="data"]').val('0');
              $('[id^="data"]').slider('disable');
              $('[id^="data"]').slider('refresh'); 
  </code></pre>
  
  <p>I get: </p>
  
  <pre><code>uncaught exception: cannot call methods on slider prior to initialization; attempted to call method 'disable'
  </code></pre>