<html> <body> <script type="text/javascript"> function employee(name,job,born) { this.name=name; this.job=job; this.born=born; } var bill=new employee("Bill Gates","Engineer",1985); employee.prototype.salary=null; bill.salary=20000; document.write(bill.job,bill.salary); </script> </body> </html>
MapManager.prototype.BindLayerClick = function(layer,func){ if(!layer){ console.log("Bind layer is null"); return; } dojo.connect(layer,"onClick",function(evt){ if(func && func instanceof Function){ func(evt.graphic.attributes); } }); }; mapManager.BindLayerClick(layerControl.getLayer("interchange"),interchangeOnClick;
发表评论
-
dataView 工具栏
2016-08-02 10:13 651http://echarts.baidu.com/echart ... -
js对字符串进行编码方法总结
2016-07-18 16:38 533在用javascript对URL字符串进行编码中,虽然esca ... -
==与===区别(两个等号与三个等号)
2016-06-17 16:55 9331、对于string,number等基础类型,==和===是有 ... -
jquery select取值,赋值操作
2016-03-31 17:24 517jquery select取值,赋值操作一、获取Select获 ... -
时间js
2016-02-16 16:48 577function DateUtil(){ this.url ... -
Spring+Websocket实现消息的推送
2016-01-31 15:59 2498本文主要有三个步骤 1、用户登录后建立websocket连接, ... -
jqgrid
2016-01-28 13:54 325待补待补待补待补 -
HTML5的WebSocket(待补)
2016-01-19 17:30 521认识HTML5的WebSocket 在HTML5规范中,我最喜 ... -
网站cookie.js
2016-01-19 09:34 424cookie.js jQuery.cookie = funct ... -
SVG--(待补)
2016-01-18 10:49 473SVG--(待补) -
template
2015-11-17 14:16 316(function(){ template = { ... -
jQuery的deferred对象详解
2015-11-17 09:15 394function getDatas(layerId){ v ... -
jQuery 阻止事件冒泡
2015-11-17 09:12 415http://www.cnblogs.com/jiqing90 ... -
typeof
2015-11-10 15:26 509JS中的变量是松散类型(即弱类型)的,可以用来保存任何类型的数 ... -
hashMap.js
2015-11-04 09:57 403function HashMap() { /** Map大 ... -
分页处理
2015-11-01 09:21 708select * from (SELECT rownum as ... -
前台传字符串导出word
2015-10-29 13:43 655package com.yunfengtech.common; ... -
隐藏,前台
2015-10-27 10:51 425$.ajax({ url:"../../s ... -
js对象定义
2015-10-23 17:18 533一,基本概念 1,自定 ... -
js 自定义的相当于LIST的对象
2015-10-23 17:18 523function Vector() { ...
相关推荐
prototype-1.4.0源码解读.js
Prototype-1.6.0-zh.chm 中文手册。好不容易找到的最新的prototype手册。
Prototype-1.pdf 程序员必看
prototype-1.7.js
prototype-1.6.0.3.js
prototype-1.6.0.3.js prototype1.4中文手册(chm) prototype1.5中文手册(chm) prototype1.6英文手册(chm)
prototype-1.6.1.js很好用!
很好的js框架 附有API prototype-1.6.0.3.js
prototype-160-api.rar prototype-160-api.rar
1、 Prototype-1.6.0 中文版 2、Prototype-1.6.0 英文版 3、Prototype.js
prototype-1.5.0代码
有关ajax的框架之一 最新版prototype 详细内容http://www.prototypejs.org/
prototype-ajax简单例子,做的不好,大家看看
开发嵌入式图形的资料,适合手机游戏编程,实现了简单的俄罗斯方块,纯JAva
AS-23-Shcherbakov-Prototype-Pollution-Leads-to-RCE
prototype-151-api
prototype是一个好东西呀!博大精深,值得学习。
ember-disable-prototype-extensions-源码.rar
prototype-1.6.0.2 js 文件和.chm 格式的完整的帮助文档
Prototype-v1.6.0中英文版