submit and terminate


DevX Home    Today's Headlines   Articles Archive   Tip Bank   Forums   

Results 1 to 3 of 3

Thread: submit and terminate

  1. #1
    Daniel Guest

    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

  2. #2
    Steve Guest

    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



  3. #3
    Steve Guest

    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
  •  
HTML5 Development Center
 
 
FAQ
Latest Articles
Java
.NET
XML
Database
Enterprise
Questions? Contact us.
C++
Web Development
Wireless
Latest Tips
Open Source


   Development Centers

   -- Android Development Center
   -- Cloud Development Project Center
   -- HTML5 Development Center
   -- Windows Mobile Development Center