How to test if an element resides in an iFrame using jQuery? -


how test if element resides in iframe using jquery , if does, how select iframe?

try work you.

var requirediframe; $("iframe").each(function(){   if($(this).contents().find("elementyouarelookingfor").length){      requirediframe = $(this);      return false;   } }); 

Comments

Popular posts from this blog

c# - How to set Z index when using WPF DrawingContext? -

razor - Is this a bug in WebMatrix PageData? -

android - layout with fragment and framelayout replaced by another fragment and framelayout -