I am using Twitter bootstrap, I have specified a modal
< 22条回答 名媛妹妹 (楼主) 2020-11-22 13:04 This other approach works well for me: $("#myModal").on("show.bs.modal", function(e) { var link = $(e.relatedTarget); $(this).find(".modal-body").load(link.attr("href")); }); 0 讨论(0) 查看其它22个回答 发布评论: 提交评论 加载中... 验证码 看不清? 提交回复
This other approach works well for me:
$("#myModal").on("show.bs.modal", function(e) { var link = $(e.relatedTarget); $(this).find(".modal-body").load(link.attr("href")); });