title: How to use data members in action
body: <p>I have defined a number of data members as follows:</p>
  
  <pre><code>    $("#slider").data("maxi", 3);
      $("#sliderb").data("maxi", 3);
      $("#sliderc").data("maxi", 4);
      $("#sliderd").data("maxi", 2);
      $("#slidere").data("maxi", 2);
      $("#sliderf").data("maxi", 1);
  </code></pre>
  
  <p>I would like to use these in an action applied to these slider selectors:</p>
  
  <pre><code>    $("#slider, #sliderb, #sliderc, #sliderd, #slidere, #sliderf").slider({ 
  
          var maxi = $(this).data('maxi');
  
          value: "0",
          min: 0,
          max: maxi,
          step: 1,
          // etc...
  </code></pre>
  
  <p>However, I get an "Uncaught SyntaxError: Unexpected token = " on the line with <code>var maxi</code>.</p>