我在视图中有 2 个 dropdownlistfor .. 它们中的每一个都可能导致回发我想在导致回发时获得一个的名称
<tr>
<td>
<label>
Owner</label>
</td>
<td>
@Html.DropDownListFor(m => m.OwnerId, new System.Web.Mvc.SelectList(Model.CallForPaperJournalOwnersList, "OwnerId", "Owner"), new { onchange = "submit();" })
</td>
</tr>
<tr>
<td>
<label>
Journal Code:</label>
</td>
<td>
@Html.DropDownListFor(m => m.JournalCode, new System.Web.Mvc.SelectList(Model.JournalsWithCallForPaperHtmlList, "JournalCode", "JournalCode"), new { onchange = "submit();" })
</td>
</tr>