title: alert() in DIV's onclick is not displayed after click
body: <p>I have two rectangles with some text inside. I would like to display a different alert when I click on each one, but code below doesn't work (alert is not displayed). Any ideas? Thanks</p>
  
  <pre><code>&lt;div id="panel0" style="width: 100%"&gt;
      &lt;div class="titleBox" id="rect0" onclick="alert('yeah1');"
          style="height: 85px; width: 85px;"&gt;Hello&lt;/div&gt;
      &lt;div class="titleBox" id="rect1" onclick="alert('yeah2');"
          style="height: 85px; width: 85px;"&gt;Hello&lt;/div&gt;
  &lt;/div&gt;
  </code></pre>