I found lot of tutorials explaining basic of JavaScript ... But i want something which will explain me use of classes and objects in Javascript ... i had used prototype and some AJAX functions ... but now need to write my own classes and components in javascript and major task is it must be cross browser
myclass = function(message) { this.message = message; this.saymessage = function() { alert(this.message); } }; test = new myclass("message_to_say"); test.saymessage(); http://w3schools.com/js/js_objects.asp
Hello NickD i went through the link .. there is no information about inheritance, abstraction or prototype .. i had found some libraries they are too complicated to understand one of them is script.aculo.us most disappointing is there are not comments to understand the core code
Yeh rays, you are right. All help I have read on internet about JS is very basic. I also want to create my own libraries like mootools and script.aculo. But I am yet unable to find a book or tutorial which has some good information aboutinheritance, abstraction or prototype etc. Please also inform me if you find some useful stuff on this matter. Thanks
while browsing for resources through out the google i found this ... not sure whether its really useful but seems good in first look http://www.xml.com/pub/a/2006/06/07/object-oriented-javascript.html