Copy link to clipboard
Copied
Hi,
So my issue is that I don't know how to access the HTML5 Input Text Components properties
In particular the Input Text 'disabled' property
To get the value I just pass val() but can't seem to find appropriate command for setting the disabled property (mouseEnabled doesn't work either!)
what I am looking for is something like this
$('#textInput').disabled();
Cheers
Ves
I figured it out.
this.textInput.on("added", function () {
document.getElementById("textInput").disabled = true;
});
Copy link to clipboard
Copied
I figured it out.
this.textInput.on("added", function () {
document.getElementById("textInput").disabled = true;
});
Copy link to clipboard
Copied
Thank you for posting your solution here. It will help other users with a similar issue.