Jquery interrupt Javascript work during load jquery-1.7.1.min.js
<p>I've got js script that load my Home messages, fans, etc. The problem is when i load any version of JQuery it is <strong>stacked on spinner image</strong>.
<strong>+webaddr+'/images/spinner.gif</strong></p>

<p>Whenever i get read of the jquery it works fine.</p>

<p>As you see in the code bellow there are <strong>stab_</strong> that load specific needs.</p>

<p>For example: <strong>hmhome load hm_home</strong>. etc</p>

<p>i also had to rewrite the code but didn't help.</p>

<p>Any ideas?</p>

<pre><code>// Load messages  
function showhome(tp,u,p,primsgtype){
    $("homecontainer").innerHTML='&lt;img src="'+webaddr+'/images/spinner.gif"&gt;';
    var linum=$("primary_nav").getElementsByTagName("li").length;
    for (var i=0; i&lt;linum; i++) {
        if ($("primary_nav").getElementsByTagName("li")[i].className=="current"){
            $("primary_nav").getElementsByTagName("li")[i].className="";
        }
    }
    $("stab_"+tp).className="loading";
    var request = YAHOO.util.Connect.asyncRequest('GET', webaddr+"/home/"+tp+"/u."+u+"/p."+p+"&amp;pm="+primsgtype+"&amp;rank="+GetRandomNum(1,999999), {
        success:function(o){
            $("homecontainer").innerHTML=o.responseText;
            $("stab_"+tp).className="current";
            YAHOO.util.Event.onContentReady("stream",function(){
                var el=YAHOO.util.Dom.get("stream");
                if(!el){return;}
                var _li=el.getElementsByTagName("li");
                YAHOO.util.Event.on(_li,"mouseover",function(e){
                    YAHOO.util.Dom.addClass(this,"light");
                    YAHOO.util.Dom.removeClass(this,"unlight");
                    });
                YAHOO.util.Event.on(_li,"mouseout",function(e){
                    YAHOO.util.Dom.addClass(this,"unlight");
                    YAHOO.util.Dom.removeClass(this,"light");
                });
            });
            if ($("homenum") &amp;&amp; $("hmhome")) {
                $("homenum").innerHTML=$("hmhome").value;
            }
            if ($("favoritenum") &amp;&amp; $("hmfavorite")) {
                $("favoritenum").innerHTML=$("hmfavorite").value;
            }           if ($("repadnum") &amp;&amp; $("hmrepad")) {
                $("repadnum").innerHTML=$("hmrepad").value;
            }           if ($("noticenum") &amp;&amp; $("hmnotice")) {
                $("noticenum").innerHTML=$("hmnotice").value;
            }           if ($("followlistnum") &amp;&amp; $("hmfollowlist")) {
                $("followlistnum").innerHTML=$("hmfollowlist").value;
            }           if ($("fanlistnum") &amp;&amp; $("hmfanlist")) {
                $("fanlistnum").innerHTML=$("hmfanlist").value;
            }           if ($("sharelistnum") &amp;&amp; $("hmsharelist")) {
                $("sharelistnum").innerHTML=$("hmsharelist").value;
            }           if ($("youfollownum") &amp;&amp; $("hmyoufollow")) {
                $("youfollownum").innerHTML=$("hmyoufollow").value;
            }           if ($("recordsnum") &amp;&amp; $("hmrecords")) {
                $("recordsnum").innerHTML=$("hmrecords").value;
            }           if ($("usersaysnum") &amp;&amp; $("hmuusersays")) {
                $("usersaysnum").innerHTML=$("hmusersays").value;
            }
            if ($("primsghead")) {
                $("info").style.display="none";
            } else {
                $("info").style.display="block";
            }
            if (tp=="privatemsg") {
                YAHOO.util.Event.on("pmcontentbox", "keyup", function(e) {
                    var pmlen=$('pmcontentbox').value.length;
                    $('pmnums').innerHTML=pmlen;
                    if (len&gt;150) {
                        $('pmcontentbox').value=$('pmcontentbox').value.slice(0,150);
                    }
                });
            }
        },
        failure:function(o){}
    }); }
</code></pre>

<p>for the last time a tried jquery-1.7.1.min.js
i will be very thankful for any guidelines.  </p>
