sillysillysilly Posted July 22, 2009 Share Posted July 22, 2009 I have an iframe that I am loading a form from another website into. What I want to do is to automatically set the focus on a button in their form. I can find the value of the form but cannot seem to set the focus then cause a click to occur. I can find buttons in my parent frame just fine and set focus and click buttons. I am using a syntax like this. window.frames["formFrame"].focus(); $('#Submit').window.frames["formFrame"].focus(); any ideas. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.