Thread ID: |
Created: |
Updated: |
Platform: |
Replies: |
148088 | Oct 4,2019 03:13 PM UTC | Oct 8,2019 03:48 AM UTC | ASP.NET Core - EJ 2 | 1 |
![]() |
Tags: Text Box |
Hi,
How to disable/enable TextBox control on runtime from javascript?
I have change event applied to DropDownList and want to enable/disable TextBox depends on value from DropDownList.
Code example:
function onValueChange(args) {
if (args.value === "disable") {
ejsTextBox.enabled = false;
} else {
ejsTextBox.enabled = true;
}
} |
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.