title: javascript function name cannot set as click?
body: <p>Below is my code and it doesn't work. After I rename the "click()" to "click1()" it works, why?</p>
  
  <pre><code>&lt;html&gt;
  &lt;head&gt;
      &lt;title&gt;&lt;/title&gt;
      &lt;script type="text/javascript"&gt;
          function click() {
              document.getElementById("content").innerHTML = "abc";
          }
      &lt;/script&gt;
  &lt;/head&gt;
  
  &lt;body&gt;
      &lt;button onclick="click()"&gt;try it&lt;/button&gt;&lt;br /&gt;
      &lt;div id="content"&gt;&lt;/div&gt;
  &lt;/body&gt;
  &lt;/html&gt;
  </code></pre>