kawtousse kawtousse - 2 years ago 68
Ajax Question

difference between ajax and submit

I just want to know what is the difference between sending parameter with ajax(post/get) to a servlet and sending them with "submit" .

Thanks for your help.

Answer Source

At the simplest, with ajax, you don't witness page refresh while submitting form data. And if you don't use it eg you use submit buttons, you witness page refresh. Both submit the data.

Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download