Possible Duplicate:
JavaScript Prototype explanation needed
I have seen some where else this code format. can anybody explain this.
var readme =function(){
//some code goes here
}
readme.prototype={
//some methods
}
var obj= new readme();
Please explain the code I am very new to use prototyping in javascript.
Is there any alternate solution in jquery instead of prototyping.