我有一个非常奇怪的问题。两个小时以来,我一直在尝试像这里一样制作 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/