I want to put a click function on my button in jquerry
<p>I want to put a click function on my button in jquerry</p>

<p>this is my sample code:</p>

<pre><code>$('#terms').click(function(event)
{
  alert("click");       
});


//function B()
-$("#descp_fixrate").append("&lt; h3 &gt;Additional Information&lt;/h3&gt; "
+"&lt;p&gt; Further terms and conditions may apply, &lt;a **id='terms**'&gt;click here&lt; /a &gt; for details.&lt;/p&gt;");    
</code></pre>
