jQuery .ready in a dynamically inserted iframe

后端 未结 10 2261
闹比i
闹比i 2020-11-22 07:11

We are using jQuery thickbox to dynamically display an iframe when someone clicks on a picture. In this iframe, we are using galleria a javascript library to display multip

10条回答
  •  滥情空心
    2020-11-22 07:35

    In IFrames I usually solve this problem by putting a small script to the very end of the block:

    
    The content of your IFrame
    
    
    

    This work most of the time for me. Sometimes the simplest and most naive solution is the most appropriate.

提交回复
热议问题