$(document).ready(function()
{
                 uid = querySt("userid");
                 $('.paginate').each(function()
                {
                        a = this.id;
                        b = "#"+a+"_listings";
                        if(typeof uid === "undefined")
                        {
                                newlink = 'http://' + this_domain + 
'/body/agents_property/
ajax_agents_property_listings.php?purpose='+a;
                        }
                        else
                        {
                                newlink = 'http://' + this_domain + 
'/body/agents_property/
ajax_agents_property_listings.php?purpose='+a+'&userid='+ uid
                        }
                        var load_image = "<center><img src='http://"; + 
this_domain + "/
images/common/loading.gif' /></center>";
                        $(b).html(load_image);
                        c=$.ajax({url: newlink ,async: false }).responseText;
                        $(b).html(c);
                        alert($(b).html());
                });
});

this code work fine for firefox when i alert $(b).html() in firefox
(last line of code) its alert the html ajax response but
in IE it alert nothing and also display null in div on site...can
anyone help me y this is happening

Reply via email to