62 users online (1 members and 61 guests)  


  Results 1 to 4 of 4

Related

  1. Passing value from parent window to child window    Forum: Javascript Forum
    Replies: 0
  2. Frame / Child Window Submission Issues    Forum: HTML Forum
    Replies: 1
  3. Replies: 1
  1. #1
    passionlessDrone's Avatar
    New User

    Status
    Offline
    Join Date
    Jul 2005
    Posts
    1

    Frame / Child Window Submission Issues

    Hello friends. I've got a situation where from a framed environment I launch a new window. Users may enter information into a text box which is added to a hidden field on the original page. The child window then submits the form on the parent page and closes. All of this works fine.

    BUT, after performing this operation, links in another frame on my parent window begin launching into new browsers. I'm very confused.

    Can anyone help ?

    Here is my code used in the child window to submit the form on the parent window:

    <script language="JavaScript">
    function pushValuesDown(){
    originalValue = opener.document.workOrderForm.fieldOrderNotes.value;
    opener.document.workOrderForm.fieldOrderNotes.value=originalValue + ' ' +document.localForm.attribute.value;
    opener.document.workOrderForm.submit();
    window.close();
    }
    </script>


    Thanks!

  2. #2
    HTML's Avatar
    Administrator

    Status
    Offline
    Join Date
    Aug 2000
    Posts
    3,445

    Follow HTML On Twitter Add HTML on Facebook Add HTML on Google+ Add HTML on Linkedin Visit HTML's Youtube Channel

    Re: Frame / Child Window Submission Issues

    moving to the js forum

  3. #3
    ALL's Avatar
    Super Dooper Nerd

    Status
    Offline
    Join Date
    Feb 2005
    Location
    localhost
    Posts
    382

    Re: Frame / Child Window Submission Issues

    do you have some html that we can look at? could you make a sample page with what you are trying to do, it makes it much eassier

  4. #4
    Doorknob's Avatar
    Super Newbie

    Status
    Offline
    Join Date
    Jun 2002
    Location
    Malaysia
    Posts
    316

    Re: Frame / Child Window Submission Issues

    Maybe a clash in the naming of the targets on the links and the child window? Like they both have the same names or something



Tags for this Thread