MooTools - JSON .bind(this)

checkID: function(){new Request.JSON({
url:json.phponFailure: function(){alert(Error);},onRequest: function(){alert(Request);},onSuccess: function(person){Object.each(person, function(value, key){console.log(key + ... + value);});}.bind(this), /* binding callback */}).get(Object.toQueryString(this.post));}

Related Posts

MooTools - JSON,MooTools - JSON Sort php array, JSON