I have a Parent Page that includes an iframe containing html page with many field. The p开发者_StackOverflowarent page contains the "Save" button. Now i want to get the values of iframe page while submitting the parent page. How can i access the iframe pages fields in parent page submit?
I know that you didn't tag this as jQuery, but if you wanted to use jQuery the way you could grab the contents of the iframe would be:
$('#yourIframe').contents()
More info can be found here.
精彩评论