i creating applicaiton want access content of nestend iframe. have page test.aspx there iframe iframe1. , content of iframe iframe. iframe2 nested iframe. want access content of iframe2. how can access content of 2nd iframe have search text in 2nd iframe. want access iframe javascript or jquery only.
finally found solution.
document.getelementbyid('iframe1').contentwindow.document.getelementbyid('iframe2').contentwindow;
and innerhtml use
frameelement.contentdocument.activeelement
var iframefound = document.getelementbyid('iframe1').contentwindow.document.getelementbyid('iframe2').contentwindow; var ifrme = iframefound.frameelement.contentdocument.activeelement;