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