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
Post a Comment