解决方案 »
- 这个GB2312转UTF-8代码的自定义函数只支持IE,不支持ff,谁帮我改改。
- JS 构造函数,原型问题
- JS1.7中的关键字let和get是完成什么功能的?
- jquery在firefox和ie区别???
- Js什么属性可以控制图片的亮度
- 怎么实现javascript 中一个div层跟随鼠标移动
- 我的Cookie的值怎么读呢?用网上的方法不对呢
- ****xmlhttp + servlet,URL中的参数在servlet中如何获得?*****
- 怎样实现在html网页上点击doc附件时弹出另存为对话框而不被直接打开?
- react如何引用JSP里<script>的js文件
- Jquery 判断某个bottom是否获得焦点
- 求高手帮看看,IE下正常,求兼容FF。。。在线等~~十分感谢。
<link rel="stylesheet" href="http://code.jquery.com/ui/1.8.19/themes/base/jquery-ui.css" type="text/css" media="all" />
<link rel="stylesheet" href="http://static.jquery.com/ui/css/demo-docs-theme/ui.theme.css" type="text/css" media="all" />
<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.7.2/jquery.min.js" type="text/javascript"></script>
<script src="http://code.jquery.com/ui/1.8.19/jquery-ui.min.js" type="text/javascript"></script>
<STYLE>
div.demo { padding: 110px !important; }
</STYLE><SCRIPT>
$(function() {
$( "#slider" ).slider({
range:"min",
min:0,
max:100,
step:10,
slide:function (event, ui) {
if(ui.value > 89){
$(this).slider({step:1})
}else {
$(this).slider({step:10})
} $("#test").html("$" + ui.value);
}
});
});
</SCRIPT><DIV class=demo>
<DIV id=slider></DIV></DIV>
<div id="test"></div>这个意思?楼主可以再调一下