我正在使用Jquery滑块。
<script>
$(function() {
$( "#slider-range-max" ).slider({
range: "max",
min: <%=minprice%>,
max: <%=maxprice%>,
value: <%=minprice%>,
slide: function( event, ui ) {
$( "#amount" ).val( ui.value );
}
});
$( "#amount" ).val( $( "#slider-range-max" ).slider( "value" ) );
});
</script>
<div class="demo">
<label for="amount">Selecteer uw maximum prijs: €</label>
<input type="text" id="amount" name="maxprijs" style="border:0; color:#f6931f; font-size:14px; font-weight:bold;" />
<div id="slider-range-max"></div>
</div>
我该如何获取滑块的值/结果,以便在ASP脚本中使用该值?