adspace


What is Differnce between html.action and ajax.action?

Answer Posted / Mudit Kumar

html.action: This method generates an HTML form that posts to the specified action method using HTTP GET or POST, based on whether it includes form values. ajax.action: This method generates an AJAX call to the specified action method using jQuery. It returns the partial view as JSON data, which can be used to update a specific portion of the page without a full page refresh.

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How to use multiple submit buttons in asp.net mvc?

1320


Explain the request flow in asp.net mvc framework?

1108


Possible ways to prevent xss attacks on mvc application?

1096