How to access parent iFrame properties from different page using javascript/jQuery? -


i have jsp page page1.jsp , iframe inside 'id=iframe1' , i'm having page page2.jsp loading inside iframe1. need access iframe1 properties @ page load of page2.jsp. how can access using javascript/jquery? can please help.

try formatting next question, it's hard read you.

$(document).ready(function(){     var iframedom = $("iframe#frameid").contents();      iframedom.find(".page").css("background-color", "#fff"); }); 

also search function have answered immediately.


Comments

Popular posts from this blog

node.js - Node js - Trying to send POST request, but it is not loading javascript content -

javascript - Replicate keyboard event with html button -

javascript - Web audio api 5.1 surround example not working in firefox -