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

Popular posts from this blog

php - Creating canonical URLs with custom route-classes -

Mysql Local server hardware -

mysql - Formatting problem with PHP DateTime Difference when used as part of an equation -