开发者

Getting iframe page name/value pairs in parent page submit in asp.net

开发者 https://www.devze.com 2023-01-26 00:38 出处:网络
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 s

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.

0

精彩评论

暂无评论...
验证码 换一张
取 消