Ajax request via dropdown use for asp.net mvc
<script type="text/javascript">
$(document).ready(function () {
$("#ddldernek").change(function () {
var selectedValue = $('#ddldernek').val();
$.post('@Url.Action("Index", "Etkinlikler")', { selection: selectedValue }, function (data) {
// handle the server response here
});
});
});
</script>
Yorumlar
Yorum Gönder