当前位置:首页>开发>正文

bootstrap中modal框数据不清空,怎么解决

2023-06-18 09:20:27 互联网 未知 开发

 bootstrap中modal框数据不清空,怎么解决

bootstrap中modal框数据不清空,怎么解决

你需要设置模态窗口的选项options$(#QrCode_Modal).modal({show:true,backdrop:static})方法下面是一些可与modal()一起使用的有用的方法。方法描述实例Options:.modal(options)把内容作为模态框激活。接受一个可选的选项对象。$(#identifier).modal({keyboard:false})Toggle:.modal(toggle)手动切换模态框。$(#identifier).modal(toggle)Show:.modal(show)手动打开模态框。$(#identifier).modal(show)Hide:.modal(hide)手动隐藏模态框。$(#identifier).modal(hide)

最新文章

随便看看