Home >Web Front-end >JS Tutorial >JQueryiframe page operates elements and methods in the parent page (explanation with examples)_jquery
1) How to find the parent page element in an iframe:
$('#id', window.parent.document)
2) Call the methods and variables defined in the parent page in the iframe:
parent.method
parent.value
3) Example
1. Parent page