Geeks With Blogs
Server Error in Application An unhandled exception occurred during the execution of the current web request August 2006 Entries
Creating Custom Class in JavaScript and adding methods, properties.
Introduction: This is a brief example of creating custom object in JavaScript. Creating Class For creating class in javascript first we have to create the function whose name should be same as class. This function is called as constructer. For example I want to create the class Named MyClass so function name should be MyClass function MyClass() { //This function is same as a constructer alert("New Object Created"); } We can also add the argumnets in this function. Adding new method and property in ......

Posted On Tuesday, August 29, 2006 10:07 AM

Copyright © Mahesh Singh | Powered by: