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
Post a Comment