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. Advertising

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. 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,044
    Andrew Bewley via DotNetMonster.com
    Feb 3, 2005
  2. Fernando Armenta

    How do you use " " whe sending a command

    Fernando Armenta, Oct 1, 2003, in forum: Python
    Replies:
    2
    Views:
    278
    Ulrich Petri
    Oct 1, 2003
  3. Urs Gubler
    Replies:
    0
    Views:
    151
    Urs Gubler
    Jul 2, 2003
  4. Yaron C.

    opener.opener ?

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

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

Share This Page