I have an iFrame, where I want to send a JavaScript command after loading. My current code looks like this:
Your code is correct. Just test to ensure it is being called like: