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

HTML5 Input Text Component 'disabled' Property?

Explorer ,
Jan 11, 2018 Jan 11, 2018

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

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

Views

537

Translate

Translate

Report

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;

});

Votes

Translate

Translate
Explorer ,
Jan 11, 2018 Jan 11, 2018

Copy link to clipboard

Copied

I figured it out.

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

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

});

Votes

Translate

Translate

Report

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

Copy link to clipboard

Copied

LATEST

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

Votes

Translate

Translate

Report

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