title: How to get an HTML button disabled status (true or false) into AppleScript?
body: <p>Buttons in webpages have a disabled status. This status can be true or false. if true, that means the button is greyed out on the webpage.</p>
  <p>With Javascript, I can retrieve the status with this:</p>
  <pre><code>document.getElementById('view-more').disabled
  </code></pre>
  <p>it will either return true or false.</p>
  <p>But if I combine this with AppleScript:</p>
  <pre><code>set buttonStatus to do Javascript &quot;document.getElementById('view-more').disabled
  </code></pre>
  <p>Nothing gets returned about the status of the button.</p>
  <p>The actual HTML code for the button is:</p>
  <pre><code>&lt;button id=&quot;view-more&quot; class=&quot;view_more&quot;&gt;View more&lt;/button&gt;
  </code></pre>
  <p>And when the button is disabled it becomes:</p>
  <pre><code>&lt;button id=&quot;view-more&quot; class=&quot;view_more&quot; disabled=&quot;disabled&quot;&gt;View more&lt;/button&gt;
  </code></pre>