How to 'grow' an iFrame depending on the size of its contents?

后端 未结 3 745
一整个雨季
一整个雨季 2021-01-06 10:04

I\'m loading the iFrames dynamically and some pages are \'taller\' than others. I\'d like the iFrame to grow accordingly. Is it possible? If so, how?

3条回答
  •  抹茶落季
    2021-01-06 10:25

    Yes, it is possible by jquery. Parent page code: