点击“ajaxSearchValues”按钮我必须隐藏“divFilters”
@Using Html.BeginForm("Action", "Controller")
<div id="divFilters" >
WR No
@Html.TextBoxFor(Function(m) Model.p_NO, New With {.class = "span2"})
<div style="float: right;">
<input type="submit" value="Search" class="btn btn-primary" id="ajaxSearchValues" />
</div>
</div>
End Using
我的剧本
$(document).ready(function () {
$('#ajaxSearchValues').click(function () {
$('#divFilters').hide()
});
});