$('#thelink').click(function(){
$('div#thedialog').dialog('open');
});
How do i change this to open window.parent´s div #thedialog.. can i do this?
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.
Maybe this:
That assumes that the parent window has pulled in its own copy of jQuery, of course. It might also work to do this:
but I personally am pretty cautious about setting up stuff in one window using code that lives in another one. IE tends to get pretty freaky about that sometimes.