使用jquery https iframe内容

时间:2014-02-19 02:16:48

标签: jquery iframe https

是否真的无法使用jquery对iframe安全(https)的内容采取行动?

    $(document).ready(function() {
  $('#iframe').load(function(){
$("#iframe").contents().find("body").hide();
});
});

1 个答案:

答案 0 :(得分:0)

你不能不违反同源政策。我用whatever-origin.

解决了这个问题
相关问题