How can I add a parameter to a select box in a parent window using jquery?
In my child window I have
$('#opfile').addOption("someval",sometext");
Problem: #opfile is the parent window, which I cannot pass to it
I tried
window.opener $ ('# opfile') addOption ("someval", SOMETEXT "); ..
but no luck with any ideas?
Update
Cheating, but I got the above to work, it may have been caching something.
Thanks for the suggestions
0
source to share
2 answers
This might be helpful.
Communication between browser windows
While this is not directly related to the example selection box, concepts can be used here.
I will watch this space in case anyone has a better solution.
+2
source to share