标签:
function saveInfo(id){
var userID = id;
var userEmail = $(‘.userEmail‘).val();
var userName = $(‘.userName‘).val();
var dataJSON ={"userID": userID,"userEmail": userEmail,"userName": userName};
$.ajax({
type:‘POST‘,
url:‘../../Services/AjaxServices.svc/SaveUser‘,
data:JSON.stringify(dataJSON),
contentType:‘application/json; charset=utf-8‘,
dataType:‘json‘
});
returnfalse;
}`
标签:
原文地址:http://www.cnblogs.com/weloveshare/p/5300045.html