Using bootstrap 3.0 modals to load dynamic, remote content within an iframe

后端 未结 5 1089
离开以前
离开以前 2020-12-08 07:57

I have tried several of the suggestions posted here on other questions and on stackexchange, and nothing is working to my satisfaction.

I am trying to load dynamic

5条回答
  •  时光取名叫无心
    2020-12-08 08:29

    function javascript_function(item_code)
    {
    var d = new Date();
    var url_to_zoom='http://localhost.com/application/page.php?id=2&item_code='+item_code+'&reqdate='+d.getTime();
    
    $('#modal_box').modal({keyboard:true,backdrop:true,show:true,remote:url_to_zoom});
    }
    

提交回复
热议问题