Using jQuery to call an iframe’s parent method

// From inside an iframe
(function($) {
    parent.$("#element_in_parent").trigger("event");
} (window.jQuery));

Leave a Reply