Question: how to send data from view to controller using ajax in mvc?
Answer: type:"GET" / type:"POST". $. ajax({ url:/ControllerName/ActionName, data: "id=" + Id + "&param2=" + param2, type: "GET", success: function(data){ // code here }, error: function(passParams){ // code here } }); Another alternative will be to use the data-ajax on a link.