【发布时间】:2015-03-17 16:59:39
【问题描述】:
使用Bootstrap Table插件(http://bootstrap-table.wenzhixin.net.cn/documentation/)第一次加载表时如何设置搜索字符串?
仅存在一个“data-search”属性来启用搜索输入,但这并不能对其进行评估。
我查找了“数据搜索文本”属性,但没有找到。
【问题讨论】:
-
为什么不设置值并使用 jquery on load/$(function? 触发事件?
-
由于插件中的 html 标记硬编码,我无法轻松访问在运行时创建的输入元素。
标签: javascript jquery twitter-bootstrap bootstrap-table