How to Load iframe content in Popup div?

前端 未结 3 550
情歌与酒
情歌与酒 2021-02-08 19:57

How to Load iframe content in Popup div. popup div will be open on click of each link from each link, page url will load to iframe href inside popup div.

$(docu         


        
3条回答
  •  爱一瞬间的悲伤
    2021-02-08 20:01

    You can also use this

    $('#clickme').click( function(){
        $('#showDiv').show();
        $('#iframe').attr('src','your url');
    });
    

提交回复
热议问题