/    Sign up×
Community /Pin to ProfileBookmark

forms and iframes

I have a page with an iframe in it. The iframe contains a form, a login form. I fill out this form and submit (POST) it. Right now, onc submitted it refreshes the whole page (parent).

I need it to just refresh the iframe which takes me to a new page (Thank you for logging in page). Shortly after you get the new page within the iframe, the parent page refreshes and go to an entirely new page.

Hope all that makes sense.

Where do I start?

Thanks

to post a comment
JavaScript

1 Comments(s)

Copy linkTweet thisAlerts:
@JRoCauthorOct 05.2005 — Correction.

When I submit (POST) the form, I want results returned back to the same iframe. A simple Thank You message. Then it takes you to another page (parent page).

Thanks
×

Success!

Help @JRoC spread the word by sharing this article on Twitter...

Tweet This
Sign in
Forgot password?
Sign in with TwitchSign in with GithubCreate Account
about: ({
version: 0.1.9 BETA 5.21,
whats_new: community page,
up_next: more Davinci•003 tasks,
coming_soon: events calendar,
social: @webDeveloperHQ
});

legal: ({
terms: of use,
privacy: policy
});
changelog: (
version: 0.1.9,
notes: added community page

version: 0.1.8,
notes: added Davinci•003

version: 0.1.7,
notes: upvote answers to bounties

version: 0.1.6,
notes: article editor refresh
)...
recent_tips: (
tipper: @AriseFacilitySolutions09,
tipped: article
amount: 1000 SATS,

tipper: @Yussuf4331,
tipped: article
amount: 1000 SATS,

tipper: @darkwebsites540,
tipped: article
amount: 10 SATS,
)...