I want to refer iframe which is inside another iframe
<
Consider this: #document #document
You can access iframe with class "i2" as:
var l1 = $(".flex-active-slide .i1")[0]; $(l1.contentDocument).find("iframe.i2");