在我的MVC应用程序林使用jQuery UI选项卡(jQuery的UI-1.9.0),并设置一个选项卡使用脚本选择以下如何让选择的选项卡jQuery UI的标签提交
<script type="text/javascript">
$(document).ready(function() {
$("#tabs").tabs({ selected: @Convert.ToInt32(Model.SearchModel.SearchType) })
});
<div id="tabs">
<ul>
<li><a href="#articlesearchtab">Article</a></li>
<li><a href="#othersearchtab">Other</a></li>
</ul>
<div id="articlesearchtab">
//content
</div>
<div id="othersearchtab">
//content
</div>
用户可以进入任一选项卡并更新内容。我需要在表单提交中获取选定选项卡的内容。我怎样才能知道用户选择的标签?
其jquery-ui-1.9.0 – rumi