Server Error in Application

An unhandled exception occurred during the execution of the current web request
posts - 60, comments - 75, trackbacks - 50

My Links

News

Archives

Post Categories

ASP.NET

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 | Feedback (0) |

Powered by: