Ruby on rails Rails引导popover赢得';t形开关
我正在试着让一个引导弹出框切换 JS代码:Ruby on rails Rails引导popover赢得';t形开关,ruby-on-rails,twitter-bootstrap,twitter-bootstrap-rails,Ruby On Rails,Twitter Bootstrap,Twitter Bootstrap Rails,我正在试着让一个引导弹出框切换 JS代码: $('#post_description').popover('toggle') 表格编号: <%= f.input :description, :label => 'Description', :input_html => {:rows => '10', :class => "span8", "data-content" =>'Hey', "data-title" => 'TEXTILE'} %&g
$('#post_description').popover('toggle')
表格编号:
<%= f.input :description, :label => 'Description', :input_html => {:rows => '10', :class => "span8", "data-content" =>'Hey', "data-title" => 'TEXTILE'} %>
'Description',:input_html=>{:rows=>'10',:class=>“span8”,“数据内容”=>'Hey',“数据标题”=>'TEXTILE'}%>
当我将鼠标移到字段上时,弹出框显示,但当我将光标移离字段时,弹出框消失。当我点击并在第二次点击时将其关闭时,不应该切换显示弹出框吗
谢谢 只使用
$('#post_description').popover()会发生什么代码>?其作用相同。好像开关坏了。