Hello and welcome to our community! Is this your first visit?
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 3 of 3
  1. #1
    Regular Coder levani's Avatar
    Join Date
    Mar 2009
    Thanked 1 Time in 1 Post

    Submit a form without page refresh

    I'm looking for an ajax script from submitting a form without page refresh. The script should have these abilities:

    1. Submit form without page refresh
    2. Display loading icon (or some text) while the script processing the code
    3. Display different message if the form has submitted successfuly, and different if it doesn't.

    Can anyone help?

  2. #2

  3. #3
    Regular Coder mlse's Avatar
    Join Date
    Mar 2005
    Thanked 19 Times in 18 Posts
    What you are looking for ... is the whole point and essence of AJAX!

    I would therefore suggest that you look at some AJAX tutorials.

    Here's a good starting point: http://www.w3schools.com/Ajax/Default.Asp

    I would suggest that you get the basics working first, then worry about fancy things like loading icons and messages. If you try to do it all in one go, I guarantee you will end up confusing the heck out of yourself!
    Die Welt ist ein Irrenhaus und hier ist die Zentrale!


Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts