从跨域访问iframe内容
我想在php页面的从跨域访问iframe内容,iframe,Iframe,我想在php页面的iframe中隐藏一个按钮Iframe来自不同域的内容。如何访问那些iframe内容。 我使用下面的代码使用jquery在iframe中选择了一个按钮 var iContentBody = $("#iframe_id").contents().find("#search_button").hide(); 但是我没有得到任何回应。你能在iframe中编辑页面吗?换句话说,你拥有其他网站吗?你能在iframe中编辑页面吗?换句话说,你拥有另一个网站吗?
iframe
中隐藏一个按钮<代码>Iframe来自不同域的内容。如何访问那些iframe
内容。
我使用下面的代码使用jquery在iframe中选择了一个按钮
var iContentBody = $("#iframe_id").contents().find("#search_button").hide();
但是我没有得到任何回应。你能在iframe中编辑页面吗?换句话说,你拥有其他网站吗?你能在iframe中编辑页面吗?换句话说,你拥有另一个网站吗?