Frames Attribute, Style Adjustment by Triggering Button inside Frames using jQuery
To change the attribute, style of a frameset/iframe by triggering any event inside the source file try this below code
iframe
$(".button").click(function(){$('iframe', top.document).eq(0).attr('height', '100px');});
frameset
$(".button").click(function(){$('frameset', top.document).eq(0).attr('rows', '100,*');});

Post a Comment