- 博客(5)
- 资源 (6)
- 收藏
- 关注
转载 namespace in javascript
namespace in javascript http://www.codeproject.com/KB/scripting/jsnamespaces.aspx
2008-09-25 07:30:00 425
原创 OOP in Javascript(4)
Objects as associative arrays "javascript" type="text/javascript"> testObj = { prop1:"hello", prop2:"hello2", prop3:new Array("helloa",1,2) } for(x in
2008-09-25 07:15:00 397
原创 OOP in Javascript(3)
Inheritance in Javascript "javascript" type="text/javascript"> function SuperClass(){ //attach method supperTest this.superTest=superTest;
2008-09-25 07:10:00 495
原创 OOP in Javascript(2)
Object Constructor and prototyping //define class // Here the function "cat()" is an object constructor, // and its properties and methods are declare
2008-09-25 07:06:00 457
原创 OOP in Javascript(1)
Basic ways of creating an object using javascript"text/javascript"> //create object using new object keyword //We define a custom object "person," then add to it its own propert
2008-09-25 06:19:00 623
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人