83662/how-to-access-iframe-parent-page-using-jquery
I have an iframe and in order to access parent element I implemented following code:
window.parent.document.getElementById('parentPrice').innerHTML
How to get the same result using jquery?Or how to access iFrame parent page using jquery?
Hello @kartik,
To find in the parent of the iFrame use:
$('#parentPrice', window.parent.document).html();
The second parameter for the $() wrapper is the context in which to search. This defaults to document.
Hope it helps!! Thank you!!
Hello, You can produce the javascript file via ...READ MORE
Hii @kartik, Here is the way to access ...READ MORE
You have to download the file with ...READ MORE
Hello @kartik, Sending the data in your scenario,I ...READ MORE
Hey @kartik, First you have to go to ...READ MORE
Named route is used to give specific ...READ MORE
Hello, This is simple you just need to ...READ MORE
Hey @kartik, Named routing is another amazing feature of ...READ MORE
Hii @kartik, Using javascript <script> $("a[href='#top']").click(function() { ...READ MORE
Hello kartik, Just use ajax.abort(). For example you could ...READ MORE
OR
At least 1 upper-case and 1 lower-case letter
Minimum 8 characters and Maximum 50 characters
Already have an account? Sign in.