Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

I am curious. What is the difference between an ajax and form post


Form post always causes a page load. An AJAX request is done asynchronously without changing the page until the request either succeeds or fails, at which point what happens depends on the code on the page.


You can submit a form without JavaScript




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: