title: This is the code in my index.html in eclipse. However, when the Click button is clicked, nothing happens. What can be the flaw?
body: <p>This is the code in my <code>index.html</code> file in Eclipse. The <code>javascript</code> part is not working. </p>
  
  <p>When I click the "Click" button, <code>send()</code> function is not implemented. alert box does not appear. </p>
  
  <p>Even if I do <code>&lt;button onClick="alert('heloo')"&gt;Click&lt;/button&gt;</code>, no alert appears.</p>
  
  <pre><code>&lt;!DOCTYPE html&gt;
  &lt;html&gt;
      &lt;head&gt;
          &lt;meta http-equiv="Content-Security-Policy" content="default-src 'self' data: gap: https://ssl.gstatic.com 'unsafe-eval'; style-src 'self' 'unsafe-inline'; media-src *"&gt;
          &lt;meta name="format-detection" content="telephone=no"&gt;
          &lt;meta name="msapplication-tap-highlight" content="no"&gt;
          &lt;meta name="viewport" content="user-scalable=no, initial-scale=1, maximum-scale=1, minimum-scale=1, width=device-width"&gt;
          &lt;link rel="stylesheet" type="text/css" href="css/index.css"&gt;
  
          &lt;title&gt;Hello World&lt;/title&gt;
      &lt;/head&gt;
      &lt;body&gt;
          &lt;p&gt;hello&lt;/p&gt;
          &lt;button onClick="send()"&gt;Click&lt;/button&gt;
          &lt;script type="text/javascript"&gt;
              function send(){
                  alert("Heloo");
              }
          &lt;/script&gt;
      &lt;/body&gt;
  &lt;/html&gt;
  </code></pre>