how to call a js function from loaded jquery
<p>the function is in the page loading the ajax but i'm trying to call the function</p>

<p>codes:</p>

<p>[ajax]                              </p>

<pre><code>$.ajax({
type: "POST",
url: "loginpersonal.asp",
data: "id=&lt;%=request("id")%&gt;",
beforeSend: function() {
    $("#personaltab").hide();
},
success: function(msg){
    $("#personaltab").empty().append(msg);
},
complete: function() {
    $("#personaltab").slideDown();
},
error: function() {
    $("#personaltab").append("error").slideDown();
}
});
</code></pre>

<p>[the js function]</p>

<pre><code>function GetCount(t){
    if(t&gt;0) {
        total = t
    }
    else {
        total -=1;
    }
    amount=total;
                                            if(amount &lt; 0){
        startpersonalbid();
    }
    else{
        days=0;hours=0;mins=0;secs=0;out="";
        days=Math.floor(amount/86400);//days
        amount=amount%86400;
        hours=Math.floor(amount/3600);//hours
        amount=amount%3600;
        mins=Math.floor(amount/60);//minutes
        amount=amount%60;

        secs=Math.floor(amount);//seconds
        if(days != 0){out += days +":";}
        if(days != 0 || hours != 0){out += hours +":";}
        if(days != 0 || hours != 0 || mins != 0){out += ((mins&gt;=10)?mins:"0"+mins) +":";}
        out += ((secs&gt;=10)?secs:"0"+secs) ;
        document.getElementById('countbox').innerHTML=out;
        setTimeout("GetCount()", 1000);
    }
}
window.onload=function(){
GetCount(&lt;%= DateDiff("s", Now,privatesellstartdate&amp;" "&amp;privatesellstarttime ) %&gt;);
</code></pre>

<p>so at the end of the loginpersonal.asp from the ajax... if it does what it suppose to do... i'm trying to call the function GetCount() again.</p>
