开发者

how to save a jquery slider's selected value

Does any one know how I can save a slider's value in the database? I would like to save the slider's position when the user stops sliding. I have no problem get the value on the client side but I need to save the selected slider value in the database as well. Any sugges开发者_StackOverflowtion is greatly appreciated.

Thanks in advance.


I found a way to make this work but I am not sure if this is the most efficient way of doing it. I created a HiddenField and assign the slider's ui.value by using the syntax below: $("#ContentPlaceHolder1_sliders_SliderStoppedValue").val(SliderStoppedValue);

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜