javascript - Event to know when a form in an iFrame has been submitted -



javascript - Event to know when a form in an iFrame has been submitted -

ok have iframe on contact page of website.

the src of iframe points file containing google docs form.

once google docs form submitted, page redirected google page saying "your response has been recorded".

i have form within iframe doesn't redirect viewers away entire site, instead iframe document redirected.

this works fine, want show own message instead of google "your response has been recorded".

to this, want know when iframe has been redirected and/or (preferably) form has been submitted.

things i've tried...

onhaschange="" within iframe element

onsubmit="" within form element (which in iframe src file)

any other ideas?

look @ answer: iframe src alter event detection? create function check if loaded content google , react properly.

javascript html html5

Comments

Popular posts from this blog

java - How to pass parameters between Request-Scoped Controllers? -

string - what is the difference between "some" == "some\0" and strcmp("some","some\0") in c++? -

actionscript 3 - Flex: moving a point with rotation doesnt change the point XY? -