is there a way to callback a class object from popup window.
i know there is way to callback a function:
window.opener.MyFunction();
but i want to know, how to call class method
new Profile('me', 'id');
im not sure how to do it, but just to give you idea
window.opener.'new Profile('me', 'id');';
yes i know, its not valid js code, but its just to give you idea :)