Skip to content Skip to sidebar Skip to footer

What Is This Format For Post Method For Form?

I saw this code on the internet, and I'm a little puzzled of what it does, particularly on the onsubmit portion.

No. The relative URL # is a reference to the top of the page. Using it as a form action doesn't really make sense since a new page load will be triggered anyway. It will just submit to the URL of the current page.


Post a Comment for "What Is This Format For Post Method For Form?"