JQuery script runs twice
<p>some JQuery scripts in web page runs twice. What is all about ? Maybe somebody faced such problem ? </p>

<p>For example(code that gets total items number from DB and runs in $(document).ready(function(){}); ):</p>

<pre><code>$.post("/index/getitemscount/", {} ,function(data){
            $('#items_count_div').html(data);
}, 'text');
</code></pre>

<p>As I see in FireBug(Firefox plugin), code runs twice...</p>

<p>Your help would be appreciated.</p>
