what happens if we bind the same div twice one in js file and one as inline script
<p>this is inside javascript file</p>

<p>what happenes if i have the same bindings for the same div defined twice //</p>

<pre><code>$(document).ready(function() {     

    $("#divid").click(function() {
     // some logic here

 });
    });
</code></pre>

<p>this is as inline</p>

<pre><code>&lt;script language="javascript" type="text/javascript"&gt;
$(document).ready(function() {  
  $("#divid").click(function() {
// some logic here
});
 });

&lt;/script&gt;
</code></pre>
