Object Error whe i use window.opener

Discussion in 'Javascript' started by JLuv, Jul 27, 2006.

  1. JLuv

    JLuv Guest

    I have a try/catch block that sends an alert() and i get the msg
    "Object Error". I have narrowed my code down to one cause...

    window.opener.form1.hdnChoice.value

    I've even tried different methods of getting this value...

    window.opener.form1.getElementbyId('hdnChoice').value
    eval('window.opener.form1.hdnChoice.value');

    and i get the same error everytime. I have no idea what's wrong. I've
    used the *exact* same method in another function that works fine. The
    form name is correct and the element id is correct.
    Any help?
     
    JLuv, Jul 27, 2006
    #1
    1. Advertisements

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Steve Wark
    Replies:
    3
    Views:
    6,832
    bruce barker
    Oct 28, 2004
  2. =?Utf-8?B?Sko=?=
    Replies:
    1
    Views:
    2,450
    =?Utf-8?B?dmluYXk=?=
    Oct 12, 2004
  3. Andrew Bewley via DotNetMonster.com

    window to window communication (window.opener)

    Andrew Bewley via DotNetMonster.com, Feb 3, 2005, in forum: ASP .Net
    Replies:
    0
    Views:
    1,294
    Andrew Bewley via DotNetMonster.com
    Feb 3, 2005
  4. =?Utf-8?B?TXJGZXo=?=

    Child window property window.opener null after postback

    =?Utf-8?B?TXJGZXo=?=, Apr 28, 2005, in forum: ASP .Net
    Replies:
    1
    Views:
    5,971
    =?Utf-8?B?TXJGZXo=?=
    Apr 28, 2005
  5. Fernando Armenta

    How do you use " " whe sending a command

    Fernando Armenta, Oct 1, 2003, in forum: Python
    Replies:
    2
    Views:
    364
    Ulrich Petri
    Oct 1, 2003
  6. Urs Gubler
    Replies:
    0
    Views:
    308
    Urs Gubler
    Jul 2, 2003
  7. Yaron C.

    opener.opener ?

    Yaron C., Oct 30, 2003, in forum: Javascript
    Replies:
    4
    Views:
    384
    Yaron C.
    Nov 2, 2003
  8. window.opener, form.opener?

    , Jul 14, 2006, in forum: Javascript
    Replies:
    5
    Views:
    496
Loading...