Thread: Ajax request
View Single Post
Old 07-24-2010, 11:44 PM   PM User | #1
leegodden
New Coder

 
Join Date: Jul 2009
Posts: 22
Thanks: 0
Thanked 0 Times in 0 Posts
leegodden is an unknown quantity at this point
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]
leegodden is offline   Reply With Quote