Networking | Hardware | Software | Multimedia | System | Unix&Linux | MBA

Home>>Hardware>>The prototype property

The prototype property

Code Wizard
06-27-2004, 11:24 PM
OK,so can anyone show some uses of this property.
What does it return ?

I know that the props of all instances of an object type can be added/modified,like this:

myobj.prototype.newProp="..."


Again.what does obj.prototype return? because i've seen code that overwrites this property entierly...that is for user-defined objects,coz built-in objects won't let you do that...

glenngv
06-28-2004, 02:51 AM
http://www.javascriptkit.com/javatutors/proto.shtml

Code Wizard
06-30-2004, 12:21 AM
Yeah .


 

TOP

For more info

setting a minimum size
Auto Preview of Image 
Refresh with a query s
JS Validation obsolete
Javascript Pop up func
Slide show transitions
I'm a newbie...please!
how to write coding in
Advanced Debug Info 
.js file doesn't work 

News Archive

Adding Graphic To Text
re-direct form after s
pop up window controls
Clock on homepage - He
passing a param from a
Password Procection wi
document.title in same
focus onload 
Counting Wrong from Ri
Help needed on how to 

Related stories:

JS Validation obsolete in the face of Server-Side methods?
Javascript Pop up function
Slide show transitions effect
I'm a newbie...please!
how to write coding in javascript
.js file doesn't work as external file...
setting a minimum size for a modal dialog

Copyright@2004-2005 www.zzcoke.com All Right Reserved

advanced web statistics