【问题标题】:How to display messages from jQuery Validate plugin inside of Tooltipster tooltips FOR SELECT INPUTS?如何在用于选择输入的 Tooltipster 工具提示中显示来自 jQuery Validate 插件的消息?
【发布时间】:2015-11-19 17:30:57
【问题描述】:

我正在使用 Tooltipster 插件来显示由 jQuery Validate 插件生成的表单错误,但是我无法让它显示选择输入的错误

【问题讨论】:

标签: jquery validation tooltipster


【解决方案1】:

https://gyazo.com/38ee0b71910510fa8a9d16b6c9663510

解决了只是在 input[type="text"] 后添加 ,select 的情况

// initialize tooltipster on text input elements $('#details input[type="text"],select').tooltipster({ trigger: 'custom', onlyOne: false, position: 'right' });

【讨论】:

    猜你喜欢
    • 2021-10-29
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2019-03-09
    • 2019-03-17
    相关资源
    最近更新 更多