/    Sign up×
Community /Pin to ProfileBookmark

Iframes and form submit…help :(

Hi,

I need a bit of help on javascript code(i know very little about it!)

I have 2 forms, One on the mainpage and the other in an iframe on the main page.

What i would like to do is when i submit the form on the main page it will also submit the form in the iframe.

Can any one help please ?

Many thanks

joe

to post a comment
JavaScript

4 Comments(s)

Copy linkTweet thisAlerts:
@KravvitzOct 02.2006 — That won't work. You can't submit both at the same time. Why are you using an iframe?
Copy linkTweet thisAlerts:
@Gibson98authorOct 02.2006 — Hi,

Im using an iframe because i have a keywords field that updates to an SQL database situated in a different place on my server.

I have seen things on the internet that say you can do this but i get javascript errors ?

Many thanks

Joe
Copy linkTweet thisAlerts:
@KravvitzOct 02.2006 — So why don't you modify the server-side script to be able to handle both?
Copy linkTweet thisAlerts:
@Gibson98authorOct 03.2006 — Hi Kravvitz,

A. Im not that advanced at SQL and ASP ?

B. Each iframe changes for each different person that has the main page

Thanks again

Joe
×

Success!

Help @Gibson98 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.4,
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: @Yussuf4331,
tipped: article
amount: 1000 SATS,

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

tipper: @Samric24,
tipped: article
amount: 1000 SATS,
)...