title: Why getAttribute returns null?
body: <p>I am using dynamics CRM. I have created one HTML web resource and added to Contacts form. Code,</p>
  
  <pre><code>&lt;html&gt;
  &lt;head&gt;
      &lt;title&gt;OData&lt;/title&gt;
      &lt;meta charset="utf-8"&gt;
  &lt;/head&gt;
  &lt;body&gt;
      &lt;script type="text/javascript"&gt;
          function getAllAttribute() {
  
              document.getElementById("demo").innerHTML = Xrm.Page.getAttribute();
          }
      &lt;/script&gt;
      &lt;button onclick="getAllAttribute();"&gt;Attributes!&lt;/button&gt;
      &lt;p id="demo"&gt;Value will be displayed here&lt;/p&gt;
  &lt;/body&gt;
  &lt;/html&gt;
  </code></pre>
  
  <p>Now, when I click on <em>Attributes!</em> button, <code>demo</code> paragraph gets null, why it is not giving names of all attributes on page?</p>