The OnReadyStateComplete event is an event in Dynamics 365 that tells you when an iframe has completely loaded. This is useful if you are referencing controls within the iframe through code.
To use it, go to a form and create a new iframe:
Add the code to a function:
function IFrameLoaded() { alert("The iframe has finished loading"); }
And add the function to the event:
Select an account to see the webpage and iframe load:
THANKS FOR READING. BEFORE YOU LEAVE, I NEED YOUR HELP.
I AM SPENDING MORE TIME THESE DAYS CREATING YOUTUBE VIDEOS TO HELP PEOPLE LEARN THE MICROSOFT POWER PLATFORM.
IF YOU WOULD LIKE TO SEE HOW I BUILD APPS, OR FIND SOMETHING USEFUL READING MY BLOG, I WOULD REALLY APPRECIATE YOU SUBSCRIBING TO MY YOUTUBE CHANNEL.
THANK YOU, AND LET'S KEEP LEARNING TOGETHER.
CARL
Hi,
Let’s say I am using Contact form, and I added new iFrame to display another page from another external site. inside iFrame page, there is button to read some information from database and display them inside iFrame page. Now how can I pass these information to main Contact Page?
As example, in iFrame page there is field First Name and I want to pass it to firstname field of Contact page.
I appreciate your help and support.
Thanks
Hani
Thank you very much I was searching for this.
Great help