Click here to Skip to main content
15,914,452 members
Everything / PrototypeJS

PrototypeJS

PrototypeJS

Great Reads

by Riaan Lehmkuhl
/* * get a hook on the buttons (> or > or
by After2050
This article demonstrates how to create public and private members in JavaScript through a sample.

Latest Articles

by After2050
This article demonstrates how to create public and private members in JavaScript through a sample.
by Riaan Lehmkuhl
/* * get a hook on the buttons (> or > or

All Articles

Sort by Score

PrototypeJS 

7 Mar 2014 by Snehasish_Nandy
You can refer below link..it's a nice explanation providedprototypal[^]even you can refer this alsoprototypal inheritance[^]
23 Nov 2009 by Riaan Lehmkuhl
/* * get a hook on the buttons (> or > or
12 Nov 2011 by Md. Tarek Showkot
Hello Everyone,I was using this CSS Property min-height:**** for one of my web application where I want to keep the minimum height of a div to a certain amount of pixels. Ok, I have done it and it is working fine in Mozilla Chrome and other browsers just not working in Internet Explorer...
12 Nov 2011 by thatraja
Here you goMaximum and Minimum Height and Width in Internet Explorer[^]
13 Jan 2014 by Muhamad Faizan Khan
please clarify the difference b/w this two codesfunction Person(gender) { this.gender = gender; alert('Person instantiated'); } Person.prototype.sayHello = function() { alert ('hello'); }; var person1 = new Person('Male'); var...
7 Mar 2014 by Muhamad Faizan Khan
What are the ways techniques, and SYNTAX to acheive prototypal inheritance. I want complete ways of inheritance. what are the ways we can acheive inheritance?? i guess these are three ways\syntax and techniques??//first way myFunc.prototype= another.prototype;//second way myfunc=...
14 Jan 2016 by nira.parmar
HI There,I am using Protoype JS for Ajax call through javascript. But recently We are facing strange issue on IE11. We are doing ajax call to load value into dropdown, it is working fine on DEV and QA server, but on production not value in drop down. But the strange thing is that on...
29 Dec 2016 by Ghostdragon777
I'm trying to get into using functions as objects and I am learning the prototype keyword. For some reason I can't figure it out. Can someone tell me how to use it. I was trying to make an rpg class sort of thing. Here is my code...var Fighter = function(CharName){ this.weapon =...
29 Dec 2016 by Sergio Walter Ruz
Hi Ghostdragon777 - Professional Profile[^] Here is an example for the Elf object. var Elf = (function () { function Elf(chartName) { this.name = chartName; } Elf.prototype.Heal = function () { console.log("Healing"); }; return Elf;}());var...
8 Jul 2021 by Samar PW
note: I'm JavaScript beginner, so excuse me if this question is too naive. I'm customizing this jquery alternative small original-library https://github.com/kylebarrow/chibi/blob/master/chibi.js[^] which works the way I want and returns a...
1 Oct 2010 by After2050
This article demonstrates how to create public and private members in JavaScript through a sample.