如何提交输入表单,下拉数据操作和输入隐藏。我正在使用Bootstrap 3.
以下是HTML代码。代码也是available on jsfiddle。
private void Form1_Resize(object sender, System.EventArgs e)
{
Control control = (Control)sender;
//Access with and height with
control.Size.Height;
control.Size.Width;
}
答案 0 :(得分:0)
HTML
<ul class="dropdown-menu dropdown-menu-right" role="menu">
<li><a class="optionclass" href="#" data-action="option_01">option 01</a></li>
<li><a href="#" data-action="option_02">option 02</a></li>
</ul>
jQuery
$('.optionclass').click(function(){
$('.search-form').submit();
});