targetting an iframe from a form

Ask a Question related to Macromedia Dynamic HTML, Design and Development.

  1. #1

    Default targetting an iframe from a form

    Hi,

    Just a quick question - I've got a form which on submission is supposed to
    load the new page in a target iframe. I've used the target property
    (targetting the iframe, which is named using the id property), but it
    doesn't want to work - keeps opening a new window instead.

    I've used this method successfully before to target normal frames, so I was
    surprised it didn't work with in iframe. Has anyone got any ideas on how to
    do this? I'm guessing it's very simple.

    Thanks
    Rob


    rob :: digitalburn Guest

  2. Similar Questions and Discussions

    1. Usercontrols targetting Tablet PC to be made compatible for Laptop
      We have an application built targetting the tablet pc, but now the application has to be distributed to Laptop pc also, the application uses ink...
    2. Form with nested iframe stumper
      :confused; I have a form with a nested iframe. At the top of the form (outside the iframe) there is a drop-down box that is used to filter a large...
    3. Targetting a specific Flash *Player* version
      Hi all, We're evaluating a number of methods of creating rich clients for a Java-based medical app. We'd like to implement a rich client, but...
    4. Targetting AVPresence inside a movieclip
      Connecting an AVPresence instance which is at the _root with the following code works fine slot1.connect(nc); slot1.setUsername(userName); ...
    5. Correct targetting, root or parent?
      I have created a dropzone on the main stage where, when a dragged item is placed it deletes, basically a trash can. All works fine with this code...
  3. #2

    Default Re: targetting an iframe from a form

    Oops, never mind, I did it, just naming it using the name property
    instead... I thought of that earlier, but didn't use it as it messed up some
    of my JavaScript, but I changed the JavaScript so all the little functions
    are happy now :)


    rob :: digitalburn Guest

Posting Permissions

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

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139