Can i pass two-dimensional array as property to .asmx webmethod using jQuery?
i have a webmethod with the signature:
public string SubmitQAResu开发者_如何学JAVAlts(int suppId, int result, int[][] qandAs)
I want to use jQuery to call this webmethod. What would it look like? thanks!
my advice is use plugin JSON.js ( http://devpro.it/code/149.html )
you can build your 2 dims array:
var players = new Array(
["TIME A",20],
["TIME B",25]
);
than convert to json and use as param
data:JSON.stringify(players);
精彩评论