Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 3 of 3
  1. #1
    Regular Coder
    Join Date
    Jun 2002
    Posts
    156
    Thanks
    0
    Thanked 0 Times in 0 Posts

    window.open and select box problem

    i am using a code in same page for adding a option in dropdown from same page it is working properly

    document.parentfrms.selectfrm.options[1]=new Option("sameer","2");
    document.parentfrms.txtstr.value="sameer";

    now i opened a window from the same page and call the function adding window.opener it thow me javascript error the server threw an exception

    window.opener.document.parentfrms.txtstr.value="sameer";
    window.opener.document.parentfrms.selectfrm.options[1]=new Option("sameer","2");



  • #2
    Regular Coder
    Join Date
    Jun 2002
    Posts
    156
    Thanks
    0
    Thanked 0 Times in 0 Posts
    is there no ans. for this question or i did not expalin it properly?

  • #3
    Supreme Master coder! glenngv's Avatar
    Join Date
    Jun 2002
    Location
    Philippines
    Posts
    11,037
    Thanks
    0
    Thanked 250 Times in 246 Posts


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •