jQuery click handlers firing once when trying to use object tag
<p>I am having problems with the code below:</p>

<pre><code>$('#thing1').on('click',function() {
    writeNewHtml(parm1, 550, 925);
}); 
</code></pre>

<p>This works everytime unless I am trying to use an object tag like below:</p>

<pre><code>function writeNewHtml(parm1, height, width) {
     $('#div').html("object/embed tag");
}
</code></pre>

<p>So my question is, is there any reason as to when using the object tag it writes the inner html only once, but if I use any other tag it works as expected?</p>
