One thing that i like from mootools is the way to create custom classes. 
like in mootools i could do this

var ajax_request = new Class({
    options: 
    {
        //class members...
    }

    initialize: function(options)
    {
        this.setOptions(options);
    }

    //more methods
});
ajax_request.implement(new Options);

and then i code do in the code:

var some_request = new ajax_request(
{
    url: 'ajax.php',
    //etc....
});

and now i have access to the ajax_request through the some_request variable. 
is something simliar to this possible i jQuery? 
-- 
View this message in context: 
http://www.nabble.com/Creating-Custom-Classes-tf4253957s15494.html#a12106801
Sent from the JQuery mailing list archive at Nabble.com.

Reply via email to