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

mysql - BLOB/TEXT column 'value' used in key specification without a key length -

ruby on rails - Convert a Activerecord result with has_one associations into a single hash per record -

c# - GetType() == type perfomance question -