javascript - jquerymobile slider 和断步属性

标签 javascript jquery-mobile

我有一个非常奇怪的问题。两个小时以来,我一直在尝试像这里一样制作 slider http://jquerymobile.com/test/docs/forms/slider/但它不起作用。

<label for="slider-0">Input slider:</label>
<input type="range" name="slider-1" id="slider-0" value="25" min="0" max="100" step="5" />

我想一切都是关于不同的 jquerymobile 版本,但我使用页面 http://jquerymobile.com/download/ 中的默认代码

还是不行 :(

甚至添加这个 (http://jquerymobile.com/demos/1.0/docs/pages/page-anatomy.html)

<link rel="stylesheet" href="http://code.jquery.com/mobile/1.0/jquery.mobile-1.0.min.css" />
<script type="text/javascript" src="http://code.jquery.com/jquery-1.6.4.min.js"></script>
<script type="text/javascript" src="http://code.jquery.com/mobile/1.0/jquery.mobile-1.0.min.js">

任何人都可以粘贴答案工作代码吗?

最好的问候

最佳答案

此错误已在下面提到的最新版本的 JQuery Mobile 库中得到修复

1) 稳定版 - 1.0.1 http://jquerymobile.com/blog/2012/01/26/jquery-mobile-1-0-1-released/

2) 不稳定的构建 - 1.1.0 RC1 http://jquerymobile.com/blog/2012/02/28/announcing-jquery-mobile-1-1-0-rc1/

关于javascript - jquerymobile slider 和断步属性,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/8847993/

相关文章:

php - AJAX POST 返回数据未出现

javascript - 当时对可见字段进行表单验证?

javascript - 创建一个 "popup" View 以覆盖 Collection View

jquery mobile document.ready 与 div.live

javascript - 如何在页面加载时打开对话框

javascript - 具有嵌套 ajax 调用的 jQuery 延迟对象

javascript - 正则表达式适用于在线测试器,不适用于 Typescript Regexp

jquery - 元素显示然后隐藏 Jquery Mobile

javascript - 将 div 包含在具有数据角色 ="page"的 div 内后无法动态添加 anchor 标记

html - MVC4 移动 Web 应用进入应用商店