Results 1 to 2 of 2

Thread: chained select menu target

  1. #1
    Join Date
    Jan 2007
    Posts
    3
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default chained select menu target

    1) Script Title: Chained Select Menu

    2) Script URL (on DD): http://www.dynamicdrive.com/dynamici...ects/index.htm

    3) Describe problem: hi guys i am trying to get the selected option to display in the mainFrame and not the menuFrame any help would be greate, i have tryed putting the usual target commands all over the place but it dont with the with script thanks allot
    karl

  2. #2
    Join Date
    Mar 2005
    Location
    SE PA USA
    Posts
    30,495
    Thanks
    82
    Thanked 3,449 Times in 3,410 Posts
    Blog Entries
    12

    Default

    There are no frames in the demo, are there? And, as far as I know, no page is being opened so a target wouldn't do anything. If you mean that you want a form element in one frame to be populated by script in another frame, that can be done:

    Code:
    top.frames.framename.document.forms.formname.elementname.value=varname;
    Where varname contains the string value that you want displayed in elementname.
    - John
    ________________________

    Show Additional Thanks: International Rescue Committee - Donate or: The Ocean Conservancy - Donate or: PayPal - Donate

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
  •