Look at below..
You can also acheive the same through below code..
"Salvar BD": function() {
$.ajax({
type: "GET",
url: "mainhomesearch.asmx/businesslisting",
data: "{'keywords':'" + request.term + "','name':'Vinod','Email':'Vinodkumarnie@gmail.com','password':'******'}",
cache: false,
error: function(msg) { alert("Erro: " + msg); },
success: function(msg) {
alert("Ok!");
allFields.val("");
}
});
code below..
mainhomesearch.vb
Public Function businesslisting(ByVal keywords As String, ByVal name As String, ByVal Email As String,ByVal Password As String ) As IList(Of String)
End Function
This is one way of passing more than one values and retrieve the same..