Asynchronously load images with jQuery

前端 未结 10 2403
日久生厌
日久生厌 2020-11-22 06:52

I want to load external images on my page asynchronously using jQuery and I have tried the following:

$.ajax({ 
   url: \"http://somedomain.         


        
10条回答
  •  情书的邮戳
    2020-11-22 07:00

    $(function () {

        if ($('#hdnFromGLMS')[0].value == 'MB9262') {
            $('.clr').append('');
        }
        else
        {
            $('.clr').css("display", "none");
            $('#imgIreland').css("display", "block");
            $('.clrIrland').append('');
        }
    });
    

提交回复
热议问题