PrepAway - Latest Free Exam Questions & Answers

One Comment on “Which code segment should you use?

  1. brkyctn says:

    * this, in disable(this), refers to the clicked button.
    * The disabled attribute is a boolean attribute.
    When present, it specifies that the element should be disabled.
    A disabled input element is unusable and un-clickable.
    The disabled attribute can be set to keep a user from using the element until some other condition has
    been met (like selecting a checkbox, etc.). Then, a JavaScript could remove the disabled value, and make the
    element usable.
    Reference: HTML disabled Attribute




    0



    0

Leave a Reply