Simple question, how can I use the $ jQuery object in an iframe without re-linking the jQuery source?
I’ve tried something simple like this:
var $ = top.jQuery();
but I’m sure it is a little more involved than that.
Thanks!
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
I do call it with
var $ = parent.$and it works fine in our web app.You must not put the parenthesis at the end.