Javascript classes

JavaScript and client side scripting.

Moderator: General Moderators

Post Reply
User avatar
daven
Forum Contributor
Posts: 332
Joined: Tue Dec 17, 2002 1:29 pm
Location: Gaithersburg, MD
Contact:

Javascript classes

Post by daven »

Does anyone know of a tutorial or some example code for how javascript deals with classes, inheritance, etc.? The only reference I have only mentions prototyping and does not even use the class() keyword.

Thanks.
User avatar
patrikG
DevNet Master
Posts: 4235
Joined: Thu Aug 15, 2002 5:53 am
Location: Sussex, UK

Post by patrikG »

Javascript has object-oriented abilities, but is not an OO-language like, for example, Java.
But have a look at this as there are many tutorials written on this and the wheel needs not be re-invented.
User avatar
phpScott
DevNet Resident
Posts: 1206
Joined: Wed Oct 09, 2002 6:51 pm
Location: Keele, U.K.

thanks

Post by phpScott »

Even though I didn't post the question Thanks patrikG for the links as they will make my life much easier on my next project.

phpScott
Post Reply