new Ajax.Request('http://habbo.com.br/client', {
onComplete: function (x) {
var sso1 = x.responseText.match(/"sso.ticket" : "(.+)"/)[0].split('"')[3];
}
});
When I use this code the following error appears:
Uncaught ReferenceError: Ajax is not defined (anonymous function)
and I don't understand why! Does anyone know the problem?