Calling a function in one window from another
I've improved the vbcode.js script for this forum software.(vBulletin) The impovement is, when you add a smilie or vbcode it is added at the point where the cursor is instead of at the end of previously written text.(only works with IE)
Here's my problem. When the user clicks on a smilie in the get more smilies popwindow, it calls the function created in the newly opened window instead of my enhanced function in the original window. How can I get the links in the small popup window to call the function in the original window and pass the smilie code to it also? It must be possible or are all objects of one window totally seperate from the other?