toolman Posted August 5, 2015 Share Posted August 5, 2015 Hi, I have an input field on a page which I have then added to another page in an iframe. How can I make the field submit in the window that has the iframe in instead of inside the iframe? Many thanks! Link to comment https://forums.phpfreaks.com/topic/297642-submit-form-outside-of-iframe/ Share on other sites More sharing options...
cyberRobot Posted August 5, 2015 Share Posted August 5, 2015 If I understand correctly, your form is inside of an iframe...and you want to break out of the iframe when the form is submitted. If that's correct, you could add the "target" attribute to your <form> tag and set it to "_top". Link to comment https://forums.phpfreaks.com/topic/297642-submit-form-outside-of-iframe/#findComment-1518080 Share on other sites More sharing options...
toolman Posted August 8, 2015 Author Share Posted August 8, 2015 Thanks, it worked Link to comment https://forums.phpfreaks.com/topic/297642-submit-form-outside-of-iframe/#findComment-1518273 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.