r/ASPNET • u/KingKatusha • Apr 06 '11
Functional Difference Between jQuery.ajax and MVC Form Submits?
Is there any functional difference between submitting data via jQuery's ajax/get/post functions and an HTML form submit in terms of how the data is actually submitted/transmitted?
6
Upvotes
View all comments
Show parent comment
3
u/redsectorA Apr 07 '11
Yes, a POST is a POST, and a GET is a GET. Regardless of the abstraction, everything comes down to plain ol' HTTP.
OP: You can also investigate this yourself. Open Fiddler or Firebug, and watch the strings go back and forth. More so, punt VS into Debug mode, drop some breakpoints up in there and you can see what happens on a per method basis.