4 Replies Latest reply on Dec 5, 2006 1:07 AM by sfbell

    submit from a frame

    macca2727 Level 1
      Hi i have a form displayed on a page inside a iframe

      <iframe src="SMS_MembersList.cfm" width="100%" marginwidth="10" height="332" marginheight="10"
      scrolling="auto" allowtransparency="true"></iframe>

      what i need to do is have a button that submits this form from outside the iframe

      ie

      <table>
      <tr>
      <td><a href="javascript:document.myForm.submit();">submit</a></td>
      </tr>
      <tr>
      <td>
      <iframe src="SMS_MembersList.cfm" width="100%" marginwidth="10" height="332" marginheight="10"
      scrolling="auto" allowtransparency="true"></iframe>
      </td>
      </tr>
      </table>