jquery related question
<p>i am modifying the inner html through javascript, and the inner html involves a button
but when i put in the jquery code to run on the button click event it fails to do so ..
sorry but im a newb when it comes to javascript</p>

<p>content im adding into the html .. </p>

<pre><code>function add()
{
    var val=document.getElementById("ans").value;

    document.getElementById("answers").innerHTML+="&lt;tr&gt;&lt;td&gt;"+val+"&lt;br/&gt;&lt;p align=\"right\"&gt;&lt;button class=\"replyb\"&gt;replies&lt;/button&gt;&lt;/p&gt;"+"&lt;/td&gt;&lt;/tr&gt;";

    document.getElementById("ans").value="";
}
</code></pre>

<p>jquery code ...</p>

<pre><code>enter code here
</code></pre>
