我正在开发一个使用jquery mobile phonegap的APP。尝试检索滑块的值时,有一个麻烦,由于某种原因,我不能把它,我已经得到的东西像jquery ui滑块值undefined
$(document).ready(function() {
var iValue = 0;
$("#sliderVer").uislider({
min : 10,
max : 100,
orientation : "vertical",
step : 1,
value : iValue
});
$("#incomplete_field_correo").hide();
$("#incomplete_field_secret").hide();
$("#incorrect_field_correo").hide();
});
我已经与
$试过(” sliderVer“)值。
也
$( “sliderVer”)滑块( “值”)。
和
$( “sliderVer”)滑块(ui.slider)。
但似乎没有任何工作,任何想法?
在此先感谢!
看看这里:http://stackoverflow.com/questions/5307325/getting-the-value-from- a-jquery-ui-slider – danmullen 2014-10-28 14:08:10