|
//-------------------------------------------------------------------------------
// Created by : Gianluca Negrelli
// Copyright : 2010.05.17
//-------------------------------------------------------------------------------
// Server communication
//-------------------------------------------------------------------------------
function SignupUser_Proxy() { }
//#region Static methods
// -----------------------------------------
// Register user
// -----------------------------------------
SignupUser_Proxy.RegisterUser = function (userJs, successCallback, failureCallback) {
var jsonData = JSON.stringify({ userJs: userJs});
$.ajax({
type: "POST",
contentType: "application/json; charset=utf-8",
url: "SignupUser.aspx/RegisterUserService",
data: jsonData,
success: successCallback,
error: failureCallback
});
}
//#endregion Static methods
|
By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.
If a file you wish to view isn't highlighted, and is a text file (not binary), please
let us know and we'll add colourisation support for it.
I'm the very proud father of
SyMenu, a multi awarded portable start menu and
www.ghezee.com an innovative ads web site.