Hello folks,

I'd appreciate insight to the fault in this function which works in FF and Safari but not in IE7. Specifically, the returned ajax file is not displayed.

function fnGetEbookFile(ni){
    $.ajax({
        url: 'textfiles/'+ni+'.txt',
        type: 'GET',
        cache: false,
        dataType: 'html',
        timeout: 2000,
        success: function(responsetxt){
        $("#justlist,#tech").hide();
        //alert("here ----" + responsetxt);
            $("#stext").html(responsetxt).show();
        }
    });
}

As far as I can determine, the ajax call is successful - the alert box show the returned html - but the display within the div "stext" is not successful. I can see the "stext" div in Firebug, so it is not as if its target doesn't exist.

Thanks,

Bruce 

Reply via email to