ajax - What happens if I call jQuery.post() with an empty url? -
If I submit a form with an empty action field, then it deposits on the current page - Is the case with
That's right, it submits the current page.
context, jQuery documentation:
url (string)
default: current page
a string containing url for which The request is sent.
Comments
Post a Comment