![]() |
|
![]() |
|
|
Thread Tools | Display Modes |
|
|
#1 |
|
Programming Guru
![]() ![]() |
Hey,
I posted this question on the webdeveloper forums, but i thought that i would post a link to it here also so that more eye's will see it. http://www.webdeveloper.com/forum/showthre...7049#post297049
__________________
Profanity is the one language that all programmers understand. Check out my Blog <---updated Nov 30 2007! |
|
|
|
|
|
#2 |
|
Programmer
|
i believe you want:
opener.getElementById('MyForm')...instead of: parent.MyForm... (try to reference your objects with the getElementBy functions, they're more compatible accross browsers)
__________________
I can pick my friends. And I can pick my nose. So, why can't I pick my friend's nose? |
|
|
|
|
|
#3 |
|
Programming Guru
![]() ![]() |
That code wouldn't work for me. The error was "getElementByID is not a function."
how ever i did take a look at how opener works and got it to run just fine. I used the Code: window.opener.document.MyForm.MySelectBox.options[MyIndex].selected = true; Thanks for your help.
__________________
Profanity is the one language that all programmers understand. Check out my Blog <---updated Nov 30 2007! |
|
|
|
|
|
#4 |
|
Programmer
|
oops, sorry. getElementById() should still work, i just forgot to reference the "document":
opener.document.getElementById('MyForm')...;
__________________
I can pick my friends. And I can pick my nose. So, why can't I pick my friend's nose? |
|
|
|
![]() |
| Bookmarks |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | |
|
|