Is there a better way to dynamically display iframes that contain random jquery bindings?
问题 This works, but I'm not sure why (and I'm fairly sure there's a smarter way to implement it). I have a page with an iframe that's src will change as needed. I'm trying to build this so different src's can be added later. After each src loads, I need to bind functionality to various elements. My main question is in the comments below; but in general, I'm curious about better ways to approach this. Thanks. <script type="text/javascript" src="/js/jquery-1.5.1.min.js"></script> <script language=