This looks cool to me as well. What is with the
target="dontCareThatName"? Is this necessary, and, if so, what should
"dontCareThatName" be? Thanks,
On Apr 5, 2005 2:29 PM, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
> Dakota Jack wrote:
>
> >Anyone have some code on using JavaScript to open and close popup
> >windows with a Struts Action? Thanks.
> >
> >Jack
> >
> >
> >
> I like very much:
>
> <html:form action="/yourAction" ... target="dontCareThatName"
> onsubmit="window.open('',this.target,'scroolbar=no, toolbar=no');return
> true;">
> <html:text...>
> <html:hidden>
> </html:form>
>
> The output of yourAction will be shown in the popup, and all your form
> fields are brought the normal way to yourAction
> with no need to put them into a big query string after the url in the
> open() function.
>
> Wolfgang
>
>
--
"You can lead a horse to water but you cannot make it float on its back."
~Dakota Jack~
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]