[jQuery] Creating plugins
I don't know what happen with the last post but let me try to explain myself
better in this one.
The only way i see documenetation for building plugins is so you can add
like:
$('#whatever').plugin();
Now this is all good but I want to know something different. I want to be
able to build a plug so i can do something like the $.ajax, so something
like:
var whatever = new someplugin();
This way of creating a new class is one thing i love about mootools, in
mootools i can do:
var ajax_request = new Class(
{
//class code
});
var ajax_request_handle = new ajax_request();
Is this possible n jQuery?
--
View this message in context: http://www.nabble.com/Creating-plugins-tf4254598s15494.html#a12108667
Sent from the JQuery mailing list archive at Nabble.com.