ITsolutionWizard
asked on
mvc post from select c#
when the onchange is occurred,
how can i send the selected value to the controller for other processing?
how can i send the selected value to the controller for other processing?
<select class="select2" id="bondState" name="bondState" onchange="fnSaveSingleData(this.name,'1')" data-placeholder="Choose Bond State...">
<option value=""></option>
@foreach (var item in Model.stateList)
{
<option value=@item>@item</option>
}
</select>
Are you using jQuery?
ASKER
No. Can u show me in JavaScript or mvc code behind?
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.