我在文本框中的代码是这个
@using (Html.BeginForm("ShowNewProfessionalWindow", "UpdateOrganizationUID"))
{ @Html.EditorFor(x => x.Org_UID)
<input type="submit" id="btnSearch" value="Search" onclick="SubmitQuery()" class="login-button" />
}
function SubmitQuery() {
var txtOrg_UID = $('#Org_UID').val();
});
}