How To Access Contents Of An Iframe In Jquery/Javascript
First of all we needs to know, whether the Iframe is from SAME DOMAIN.
If yes, in jquery we can use following code for accessing the Iframe contents.
$("#iFrameID").contents().find("#divid")
.addClass("technomark");
If the Iframe is from different domain, you should get permission first.
Permission for accessing the contents inside the Iframe is needed.
Else you will get permission error while accessing the iframe contents.