Works

  1. fanhua说道:
    Google Chrome 45.0.2454.101 Google Chrome 45.0.2454.101 Windows 7 x64 Edition Windows 7 x64 Edition

    你好,我想问下bootstrap 搜索建议下拉框鼠标点进输入框里面,然后按下回车键,页面刷新,请问能去掉这个回车键吗?

    1. 任侠说道:
      QQbrowser 9.3.7175.400 QQbrowser 9.3.7175.400 Windows 10 x64 Edition Windows 10 x64 Edition

      表单只有一个 input 输入框的情况下,回车会默认提交表单。这是浏览器的默认行为,和插件无关。
      解决方式可以为使用 javascript 禁用回车提交,或者加入一个不显示的 input 元素。

      1. fanhua说道:
        Google Chrome 45.0.2454.101 Google Chrome 45.0.2454.101 Windows 7 x64 Edition Windows 7 x64 Edition

        好的 谢谢

  2. fanhua说道:
    Google Chrome 45.0.2454.101 Google Chrome 45.0.2454.101 Windows 7 x64 Edition Windows 7 x64 Edition

    搜索插件 级联查询 怎么配置,在使用中,只有第一次请求是有效的, 之后的级联,传过去的url还是上一次的,新传过去的url获取到了 但是在查询的时候用的还是第一次传的url

    1. 任侠说道:
      Google Chrome 46.0.2490.80 Google Chrome 46.0.2490.80 Windows 7 x64 Edition Windows 7 x64 Edition

      级联查询具体指的是?不明白你的意思,能否给个例子

      1. fanhua说道:
        Google Chrome 45.0.2454.101 Google Chrome 45.0.2454.101 Windows 7 x64 Edition Windows 7 x64 Edition

        我通过URL传参获取下拉框内容,比如第一次查询类型为1的数据,查出来10条,然后我不刷新页面,查询类型为2的数据,下拉框显示的还是类型为1的数据。

        1. 任侠说道:
          QQbrowser 9.3.7175.400 QQbrowser 9.3.7175.400 Windows 10 x64 Edition Windows 10 x64 Edition

          如果希望一直从 url 中请求数据,应该设置如下字段配置。具体可参考 demo 中的一些示例

          getDataMethod: "url", //总是从 URL 获取数据

  3. ysfshine说道:
    Safari 8.0.8 Safari 8.0.8 Mac OS X  10.10.5 Mac OS X 10.10.5

    bootstrap-suggest-plugin 插件 级联查询 怎么配置,在使用中,只有第一次请求是有效的, 之后的级联,不请求方法。

  4. cc说道:
    Google Chrome 36.0.1985.143 Google Chrome 36.0.1985.143 Windows 7 x64 Edition Windows 7 x64 Edition

    Bootstrap_Search_Suggest 插件不支持ie8、9、10、11的版本,这么办?我的网站用到了,并且更新了最新版本 https://www.sanheviajes.com/tren-china/ ,静候回复,谢谢

    1. 任侠说道:
      Google Chrome 43.0.2357.132 Google Chrome 43.0.2357.132 Windows 7 x64 Edition Windows 7 x64 Edition

      因为只考虑了 safari、谷歌和火狐,当前确实未对 IE 系列浏览器作兼容。后续会作一些改进。
      看了下你使用的方式,后端过滤好像有些问题。
      其实你的列表第一次已获取了所有内容,可以不用配置 getDataMethod 参数。

    2. fanhua说道:
      Google Chrome 45.0.2454.101 Google Chrome 45.0.2454.101 Windows 7 x64 Edition Windows 7 x64 Edition

      请问你的问题解决了吗 我也用到这个插件了 IE下不行

      1. 任侠说道:
        QQbrowser QQbrowser Android 5.1 Android 5.1

        最新的版本是支持IE8以上的

  5. 汪俊说道:
    Firefox 38.0 Firefox 38.0 Windows 7 x64 Edition Windows 7 x64 Edition

    bootstrap 搜索建议下拉框 的显示值和输入值想不一样,结果不行! :cry:

  6. 加菲说道:
    Google Chrome 30.0.1599.101 Google Chrome 30.0.1599.101 Windows 7 x64 Edition Windows 7 x64 Edition

    你好 可否加你QQ 联系 有个小活儿请你做一下

  7. z_lin说道:
    Google Chrome 30.0.1599.101 Google Chrome 30.0.1599.101 Windows 7 Windows 7

    建议登陆和注册验证做ajax验证。不要跳转页面

发表回复

您的电子邮箱地址不会被公开。 必填项已用*标注

Captcha Code