Thread ID: |
Created: |
Updated: |
Platform: |
Replies: |
143461 | Mar 20,2019 09:02 PM UTC | Mar 25,2019 07:07 AM UTC | ASP.NET Core - EJ 2 | 3 |
![]() |
Tags: Dropdown List |
function ofcChange(args) { //
if (args.e == null)
return;
//var listObj = document.getElementById('ddlOfficers').ej2_instances[0];
$.ajax({
url: 'Officers/?handler=OfficerInfo',
type: 'GET',
dataType: 'json',
data: {
OfcID: args.value
},
headers: {
RequestVerificationToken:
$('input:hidden[name="__RequestVerificationToken"]').val()
}
})
.done(function (result) {
var obj = document.getElementById('ddlOfcStatus').ej2_instances[0];
obj.value = result.StatusId;
obj.dataBind(); // call the dataBind method
})
} |
This post will be permanently deleted. Are you sure you want to continue?
Sorry, An error occured while processing your request. Please try again later.
This page will automatically be redirected to the sign-in page in 10 seconds.