jQuery EasyUI slider 中获取不到value
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Slider - jQuery EasyUI Demo</title>
<link rel="stylesheet" type="text/css" href="themes/default/easyui.css">
<link rel="stylesheet" type="text/css" href="themes/icon.css">
<link rel="stylesheet" type="text/css" href="demo.css">
<script type="text/javascript" src="jquery-1.7.2.min.js"></script>
<script type="text/javascript" src="jquery.easyui.min.js"></script>
<script type="text/javascript">
$(function(){
$('#ss').slider({
mode: 'v',
value:'12',
tipFormatter: function(value){
return value + 'px';
},
onChange: function(value){
}
});
alert($('#ss').slider('option','value'));
})
</script>
</head>
<body style="width:1000px;height:700px;margin:0px auto;">
<div class="demo-info2" style="background-color:red;width:500px;height:500px;float:left;margin:0 0 0 150px;">
</div>
<div class="demo-info1" style="background-color:white;width:200px;height:500px;float:left;margin:0 0 15px 30px;">
<input id="ss" showTip="true" rule="[0,'|',25,'|',50,'|',75,'|',100]" style="height:300px">
</div>
</body>
</html>
...全文
相关推荐
用easyui的slider改造的JavaScript时间播放条
用easyui的slider改造的简单时间播放条,简单实用
完美的jQuery 1.7 API及UI参考 (CHM)
完美的jQuery 1.7 API及UI参考,CHM格式。
jQueryUI系统教程之一:dialog[定义].pdf
jQueryUI系统教程之一:dialog[定义].pdf
高校技术转移办公室人员在推动成果转化过程中,常遇到哪些难以解决的瓶颈?.docx
高校技术转移办公室人员在推动成果转化过程中,常遇到哪些难以解决的瓶颈?
diff_viewer_no_garble.php
diff_viewer_no_garble.php


