title: Disabling several elements on one button
body: <p>I'm trying to toggle disabled status of several element using one button. I did function which only toggle status of one element. </p>
  
  <pre><code>    Disabled() {
        var element = &lt;HTMLInputElement&gt;document.getElementById("input");
        if (element.disabled == true) {
            element.disabled = false;
        } else {
            element.disabled = true;
        }
      }
  </code></pre>
  
  <p>what should I change to make it work? </p>