IE onclick doesn't trigger
<p>I make a button dynamically with jquery after an event </p>

<pre><code>var $btnRow = $('&lt;input /&gt;')
    .attr('type', 'button')
    .attr('id', 'myID')
    .attr('onclick', 'AddChildRow(this);')
    .val('Row');
$btnRow.css({ 'width': '38px', 'padding': '0' });
</code></pre>

<p>the html generated is like :</p>

<pre><code>&lt;input type="button" id="myID" onclick="AddChildRow(this);" value="Row" style="width: 38px; padding: 0pt;"&gt;
</code></pre>

<p>I have a AddChildRow function in my js file. It's working perfectly in FF, but not in IE (it does not call the AddChildRow ). Has someone had the same problem before? This button is part of dynamic DIV -> Table -> TR -> TD schema. Any help would be greatly appreciated. </p>
