Quick question. There is a parent page that uses jquery and iframe in
that page, which loads a page that also uses jquery. I would like the
child parent to use the parent's instance of jquery. i tried:

<script type="text/javascript">var jQuery, $; $ = window.parent.$;
jQuery = window.parent.jQuery; </script>

which actually loads without error, and even allows some of the childs
jquery functions to work, but others don't or work poorly (throw
errors). is there another/better way to do this? everything is in the
same domain-

Reply via email to