The jQuery library isn't "class based" (not in the C++/Java/etc style
at least), so it doesn't provide "class" construction functions. From
my experience, most of the time classes are not needed in JavaScript.

That doesn't stop you using your favourite "classes for JavaScript"
library. If you don't know of any you might take a look at
http://dean.edwards.name/weblog/2007/12/base2-intro/

Karl Rudd

On Tue, Aug 19, 2008 at 7:00 PM, Stefan Sturm
<[EMAIL PROTECTED]> wrote:
>
> Hello,
>
> I used Prototype so long. But I switched to jQuery. But now I have a
> Question about creating classes.
> With prototype I can use "Class.create" to create a new Class.
> Is there a way in jQuery to do this? Or do I need the old JavaScript
> syntax to create my classes?
>
> Thanks for your help,
> Stefan Sturm
>

Reply via email to