javascript控件
发布网友
发布时间:2022-04-28 16:53
我来回答
共2个回答
热心网友
时间:2022-04-24 20:13
老兄,还是你自己找吧。就算别人找出来,你还要自己一点一点的研究,要不然根本不懂。他的什么都是用js来搞定。而且代码又那样,很杂乱。这个是一点点代码:
function(v){
Object.extend(v,{
href:v._getAttr,
src:v._getAttr,
type:v._getAttr,
action:v._getAttrNode,
disabled:v._flag,
checked:v._flag,
readonly:v._flag,
multiple:v._flag,
onload:v._getEv,
onunload:v._getEv,
onclick:v._getEv,
ondblclick:v._getEv,
onmousedown:v._getEv,
onmouseup:v._getEv,
onmouseover:v._getEv,
onmousemove:v._getEv,
onmouseout:v._getEv,
onfocus:v._getEv,
onblur:v._getEv,
onkeypress:v._getEv,
onkeydown:v._getEv,
onkeyup:v._getEv,
onsubmit:v._getEv,
onreset:v._getEv,
onselect:v._getEv,
onchange:v._getEv
});
其实思路大家都知道,只是想把所有的代码都找到。还是比较烦的。
热心网友
时间:2022-04-24 21:31
你去www.extjs.com 下载一个这玩意的控件不就得了,多种样式,费那么大劲干啥