post form data to a modal dialog window

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Matt

    #1

    post form data to a modal dialog window

    I want to post the form data (http://server/page1.asp) to a modal dialog
    window (http://server/modaldialog.asp) with a desired height 200px by width
    200px.

    Here's my attempts and problems:

    Attempt #1) In http://server/page1.asp, it has code <form
    action="http://server/modaldialog.asp " method="post" target="_blank" >

    In http://server/modaldialog.asp, it has code <body onBlur = "self.focus ()">

    It can produce modal dialog window modaldialog.asp , but I want to set the
    width and height of modaldialog.asp .

    Attempt #2) var sReturn = window.showModa lDialog("modald ialog.asp", params,
    "dialogHeight:2 00px; dialogWidth:200 px;");

    This is the effect I want. But this is not posting the form data to
    modaldialog.asp .

    Any workarounds to my problems??

    Thanks!!
  • Thomas 'PointedEars' Lahn

    #2
    Re: post form data to a modal dialog window

    Matt wrote:[color=blue]
    > I want to post the form data (http://server/page1.asp) to a modal
    > dialog window (http://server/modaldialog.asp) with a desired height
    > 200px by width 200px.[/color]

    I doubt this is possible. A modal dialog window is just that: modal.
    Script execution should not continue as long as the window is open.


    PointedEars

    Comment

    Working...