jquery - submit of a bunch of slider values
<p>So I have 5 sliders on a web page.  Any brilliant solutions as to how to grab their values and submit them to the server (rails in this case) (ajax is ok)?</p>

<p>One solution is to use hidden fields and on each slider change to update the corresponding hidden field.  Seems kinda lame.</p>

<p>The sliders all have a class of "slider", so I was hoping for some cool approach like </p>

<pre><code>var json = $(".slider").toJSON();
$.ajax({
   url: "myurl",
   processData: false,
   data: json,
   success: handleResponse
 }
</code></pre>

<p>which would take all the values and put them in a JSON structure.  However, that doesn't work :(</p>

<p>Other ideas?</p>
