|
Ajax request
HI, I am a beginner in Ajax, so please excuse my ignorance.
Could anyone explain the snippet of code below. Its part of a js page that uses a form on another page to register a new user. But how does it insert username, email and password into a database? Is there a file entitled 'registerNewUser' somewhere that inserts values into a database table?
Any help would be much appreciated
Regards
Lee
[ICODE]
Utils.Request({
parameters: {
action: 'registerNewUser',
username: username,
email: email,
password: password
},
asynchronous: false,
onSuccess: function(response) {
$('signupButton').enable();
[ICODE]
|