<%= Html.DropDownList("drop_down_list_id", (System.Collections.Generic.List
Following is the jquery function which calls the mentioned controller's action method when dropdown list's selected item changed.
<script type="text/javascript">
$(document).ready(function() {
$("#drop_down_list_id").change(function () {
this.form.action = "/ControllerName/ActionName";
this.form.submit();
});
});
</script>
0 comments:
Post a Comment