Re: OT CGI script with target in the body
- From: "Jesse F. Hughes" <jesse@xxxxxxxxxxxxx>
- Date: Wed, 17 Aug 2005 20:22:44 +0200
Gunnar Hjalmarsson <noreply@xxxxxxxxx> writes:
> Jesse F. Hughes wrote:
>> Gunnar Hjalmarsson writes:
>>> Try onsubmit / windows.open.
>> But I have two submit buttons. I only want a new window when button
>> A
>> is pressed. Isn't onsubmit a <form> attribute?
>
> Maybe you need two forms. Clumsy, but...
I'm not sure that works for me.
Maybe I should explain. I have a form for creating a database entry
that includes a search string for selecting certain records from a
different database.
Submit button one is to check the results of the search, so that the
user knows he's entered the right data before he adds it to the
database.
Submit button two is to add it to the database.
Both buttons need the information from the same form. It is slightly
preferable if button one opens a new window for displaying the search
results, so that the form is still present at all times. (For
technical reasons, I don't want to have to use the back arrow to
re-display the form.)
Thanks for the suggestions.
--
Jesse F. Hughes
"Certainly he who can digest a second or third fluxion need
not, methinks, be squeamish about any point in divinity."
George Berkeley, 1734
.
- Follow-Ups:
- Re: OT CGI script with target in the body
- From: xhoster
- Re: OT CGI script with target in the body
- References:
- Re: OT CGI script with target in the body
- From: Gunnar Hjalmarsson
- Re: OT CGI script with target in the body
- From: Jesse F. Hughes
- Re: OT CGI script with target in the body
- From: Gunnar Hjalmarsson
- Re: OT CGI script with target in the body
- Prev by Date: Re: Segmentation Fault with Gtk2
- Next by Date: Re: OT CGI script with target in the body
- Previous by thread: Re: OT CGI script with target in the body
- Next by thread: Re: OT CGI script with target in the body
- Index(es):