i ont un webmethod avec la signature:Puis-je transmettre un tableau bidimensionnel en tant que propriété à webmethod .asmx en utilisant jQuery?
SubmitQAResults string publique (int SuppID, résultat int, int [] [] qandAs)
Je veux utiliser jQuery pour appeler cette webmethod. À quoi ressemblerait-il? Merci!
voir plus http://ajaxify.com/run/json/ – Rbacarin
plus d'aide: http://msdn.microsoft.com/fr-fr/library/cc836459%28VS.85%29.aspx – Rbacarin
Salut merci pour r la réponse! À quoi pourrait ressembler l'appel ajax? .ajax $ ({ Type: "GET", url: "http: // localhost: 2968/MyService.asmx/SubmitQAResults", données: "{ 'joueurs': '" + joueurs + "'} », dataType: "jsonp", succès: function (données) { alerte (data.d);} }); je tente d'appeler un webservice .asmx .. – bill