在jQuery Mobile的滑块控件中删除文本框 [英] Remove Text Box in slider control in jQuery Mobile

查看:195
本文介绍了在jQuery Mobile的滑块控件中删除文本框的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在使用此JQM链接

I am using this JQM Links

<link rel="stylesheet" href="http://code.jquery.com/mobile/1.1.0-rc.1/jquery.mobile-1.1.0-rc.1.min.css" />
<script src="http://code.jquery.com/jquery-1.7.1.min.js"></script>
<script src="http://code.jquery.com/mobile/1.1.0-rc.1/jquery.mobile-1.1.0-rc.1.min.js"> </script>

我在划分中使用了滑块.在旧版本中,我使用了属性class ="ui-hidden-accessible" 不显示滑块旁边的文本框,但在此版本中不起作用.我如何删除此文本框.我的代码

i used slider in division. in older version i have used property class="ui-hidden-accessible" for not showing the textbox beside the slider but in this version its not working. How can i remove this textbox. My code

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

我应该使用其他版本吗?或任何解决此问题的方法.

should I use other version ? or any way to overcome this issue.

谢谢

推荐答案

<style type=text/css>
    input.ui-slider-input {
        display : none !important;
    }
</style>

http://the-jquerymobile-tutorial.org/jquery -mobile-tutorial-CH19.php

在jquery中隐藏滑块输入框

这篇关于在jQuery Mobile的滑块控件中删除文本框的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆