You might want to check this out:
http://ejohn.org/blog/simple-javascript-inheritance/

On May 6, 11:13 am, Javier Martinez <[EMAIL PROTECTED]> wrote:
> I'm moving from mootools to jquery and trying to port my UI framework
> to jquery.
> Some of my widgets are extending from another widget. For example a
> "datagrid" and a "dataview" objects extends from "view" object
> (because both uses same methods from view).
> With Mootools I have something like this
>
> Class View()
>
> Class DataGrid ({
> extends: View
>
> })
>
> Class DataView({
> extends: View
>
> })
>
> What is the equivalent on jQuery?
>
> Thanks!

Reply via email to