On 16/03/07, George Moschovitis <[EMAIL PROTECTED]> wrote: > Dear devs, > > I have a short question. Is there a jquery shortcut for the following js code: > > document.getElementById('myframe').contentWindow.document.getElementById('myframe').submit(); > > I am trying to programmatically submit a form in an iframe. > > thanks in advance, > George. > > -- > http://blog.gmosx.com > http://cull.gr > http://www.joy.gr > http://nitroproject.org
Perhaps this may help: http://webdevel.blogspot.com/2007/03/iframes-and-jquery-working-with.html Although I think jQuery should be able to do this transparently. Also I found I had to wait until the iframe had loaded before I could work with it. _______________________________________________ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/