Results 1 to 2 of 2

Thread: SOLVED: Select Options by Popup

  1. #1
    Join Date
    Jan 2007
    Posts
    629
    Thanks
    10
    Thanked 28 Times in 28 Posts

    Default SOLVED: Select Options by Popup

    So I have this code:
    Code:
    window.opener.document.forms['editor'].image_select.options.length = 0;
    window.opener.document.forms['editor'].image_select.options[0] = new Option("hi","hi");
    It works fine in Firefox, but in IE7, only the first line works.

    The error message is something to the effect of:
    The object does not support this property or method
    Last edited by Jas; 05-17-2008 at 05:46 PM.
    --Jas
    function GreatMinds(){ return "Think Like Jas"; }
    I'm gone for a while, but in the meantime: Try using my FTP script | Fight Bot Form Submissions

  2. #2
    Join Date
    Jan 2007
    Posts
    629
    Thanks
    10
    Thanked 28 Times in 28 Posts

    Default

    PROBLEM SOLVED. . . kind of.
    I managed to do this in another way. If anyone knows what the problem was, I am still interested in finding out.
    --Jas
    function GreatMinds(){ return "Think Like Jas"; }
    I'm gone for a while, but in the meantime: Try using my FTP script | Fight Bot Form Submissions

Bookmarks

Posting Permissions

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