ajaxポストアクションを介してコントローラーを渡す必要がある文字列と配列変数のコレクションがあります。例:
string str="john";
int temp= 10;
var arrayObj=new Array();
$.ajax({
type: 'Post',
url: 'home/controller',
data: ?, // how to pass all string,int and array object
datatype: ?, //'html/ or Json' what will need to give?
success: function (result) {
},
});
誰でも私の質問に答えることができますか? ありがとう、バラティ。