Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6540471
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 25, 20262026-05-25T10:58:59+00:00 2026-05-25T10:58:59+00:00

I was working on an html form today, and I learned that keeping the

  • 0

I was working on an html form today, and I learned that keeping the “action” attribute empty woud result in calling the URL of the current page. I noticed that when I use the JQuery “live()” event handler on the submit button of the form, the normal POST request is not made. I want to make sure I understand the sequence of events; in particular how does the non-ajax POST request depend on the click of the submit button?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-25T10:59:00+00:00Added an answer on May 25, 2026 at 10:59 am

    The POST request is generated by the form submitting.

    The stuff that happens when the form submits is defined by the <form> tag.

    The submit button is one way of causing the form to submit.


    Getting a little more in-depth, it’s possible to submit the form with (among other things)

    $('form').submit(); // You can select form different, for example form#SomeID and form.someClass
    

    By default, if you just allow the submit button to run on its own without modifying it with with jQuery, it will tell the form to submit.

    As such, by default, all the submit button will do is call (essentially)

    $(this).getParentForm().submit(); // This is totally madeup code, but you get the idea
    

    Anything past this point gets to the point where I can’t deny that it’s just lying about how things work in order to give you an idea of what they do.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I am working on an HTML form that posts the data to a URL.
I am working with the following HTML form: <form method = 'POST' action =
I'm working with a HTML form that accepts 4 dates, two of which are
I'm working on an HTML form that will post data to my Webserver for
I am working on web form ... HTML form that posts data to aspx
Here's the form that was formerly working. I just went back to it today
I'm working on an HTML class in PHP, so that we can keep all
I'm working with a bit of html and Javascript code that I've taken over
I have a simple html form that I've added validation to using the JQuery
I have an HTML form that I need to post to the server with

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.