Thread ID: |
Created: |
Updated: |
Platform: |
Replies: |
143482 | Mar 21,2019 06:42 PM UTC | Mar 22,2019 05:54 AM UTC | ASP.NET MVC - EJ 2 | 1 |
![]() |
Tags: DropDownList |
$("#btnChange").click(function () {
var x = document.getElementById("GenreId").ej2_instances[0];
if (x.enabled) {
x.enabled = false; // To disable
x.dataBind(); //To affect the changes immediately
} else {
x.enabled = true; // To enable
x.dataBind(); //To affect the changes immediately
}
}); |
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.