Re: [jQuery] Calling an iframe's javascript function

2009-11-04 Thread Michel Belleville
Well first you can find elements using their id : $('#frameid') Then access the content of an iframe : $('#frameid').contents() Then maybe access functions they own : $('#frameid').contents().myFunc(); Though I don't know much about your "myFunc()" and how you attached it to the iframe, this sho

[jQuery] Calling an iframe's javascript function

2009-11-03 Thread Mike
Is there a way to implement this JavaScript commmand through JQuery? document.getElementById('iframeid').contentWindow.myFunc(); Thanks!