How to POST a javascript's result
<p>This javascript makes a custom slider work. Is ui.value the slider's value? If yes, how can I POST it?</p>

<pre><code>&lt;script type="text/javascript"&gt;

    $(function() {
        $( "#slider-location" ).slider({
            range: "min",
            min: 1,
            max: 18,
            value: 15,
            slide: function( event, ui ) {
                $( "#radius" ).val( ui.value );
            }
        });
        $( "#radius" ).val( $( "#slider-range-max" ).slider( "value" ) );
    });
    &lt;/script&gt; 
</code></pre>
