Two similar spans with onclick event, one not working?
<p>Running into a very strange problem, and for the life of me I can't find out why this isn't working:</p>

<p>js:
</p>

<pre><code>function Test()
{
  alert("test");
}
</code></pre>

<p>html:
</p>

<pre><code>&lt;span id='bla' onclick='Test()'&gt;
  Click me
&lt;/span&gt;

&lt;hr&gt;

&lt;span id='bla2' onclick='alert("test2")'&gt;
  Click me too
&lt;/span&gt;
</code></pre>

<p>Live demo here: <a href="https://jsfiddle.net/gc4533qz/" rel="nofollow">https://jsfiddle.net/gc4533qz/</a></p>

<p>Why does clicking on the 2nd line generate a popup, <strong>but clicking on the first does not?</strong></p>