Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
0

HTML5 Input Text Component 'disabled' Property?

Explorer ,
Jan 11, 2018 Jan 11, 2018

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

disabled.JPG

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

573
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines

correct answers 1 Correct answer

Explorer , Jan 11, 2018 Jan 11, 2018

I figured it out.

this.textInput.on("added", function () {

     document.getElementById("textInput").disabled = true;

});

Translate
Explorer ,
Jan 11, 2018 Jan 11, 2018

I figured it out.

this.textInput.on("added", function () {

     document.getElementById("textInput").disabled = true;

});

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Adobe Employee ,
Jan 12, 2018 Jan 12, 2018
LATEST

Thank you for posting your solution here. It will help other users with a similar issue.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines