-
submit and terminate
Hi,
I have a page with ofers the user to add data to a database, if the user
selects to add data a new window/page is created and a form is generated
on the fly. This page has a submit button, so the user can submit the form.
I will like this page to close when the user submits the data(using the submit
button), however, I do not what the warning window to popup asking the user
if she/he wants to close the page. This way the user will left with the original
page she/he was looking at.
Thank's
daniel
-
Re: submit and terminate
Here's some code that might help.
http://javascript.internet.com/navig...ive-popup.html
"Daniel" <djimenez@scu.edu.au> wrote:
>
>Hi,
>I have a page with ofers the user to add data to a database, if the user
>selects to add data a new window/page is created and a form is generated
>on the fly. This page has a submit button, so the user can submit the form.
>
>I will like this page to close when the user submits the data(using the
submit
>button), however, I do not what the warning window to popup asking the user
>if she/he wants to close the page. This way the user will left with the
original
>page she/he was looking at.
>
>Thank's
>
>daniel
-
Re: submit and terminate
Here is some code that will help you out.
http://javascript.internet.com/navig...ive-popup.html
"Steve" <sa1lopez@hotmail.com> wrote:
>
>Here's some code that might help.
>http://javascript.internet.com/navig...ive-popup.html
>
>"Daniel" <djimenez@scu.edu.au> wrote:
>>
>>Hi,
>>I have a page with ofers the user to add data to a database, if the user
>>selects to add data a new window/page is created and a form is generated
>>on the fly. This page has a submit button, so the user can submit the form.
>>
>>I will like this page to close when the user submits the data(using the
>submit
>>button), however, I do not what the warning window to popup asking the
user
>>if she/he wants to close the page. This way the user will left with the
>original
>>page she/he was looking at.
>>
>>Thank's
>>
>>daniel
>
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
Forum Rules
|
Top DevX Stories
Easy Web Services with SQL Server 2005 HTTP Endpoints
JavaOne 2005: Java Platform Roadmap Focuses on Ease of Development, Sun Focuses on the "Free" in F.O.S.S.
Wed Yourself to UML with the Power of Associations
Microsoft to Add AJAX Capabilities to ASP.NET
IBM's Cloudscape Versus MySQL
|
Bookmarks