function test (){
alert("show");
}$("#button1").click(function(){
test ();
});
$("#button1").focus(function(){
test ();
});我现在就是想找个语法把这两个涵数整合一起写,请问要怎么写?
alert("show");
}$("#button1").click(function(){
test ();
});
$("#button1").focus(function(){
test ();
});我现在就是想找个语法把这两个涵数整合一起写,请问要怎么写?
解决方案 »
- onmouseout与onmouseover问题
- 高手请进,遇到棘手拖动问题!
- JS DOM制作页面
- 如何实现“删除”的提示对话框,我写了大体代码,我考虑用confirm不好解决,请各位大侠帮帮忙
- ●●●●●●●●●●●●●●●●●●●●●这个问题太让我迷茫了 设置Function.prototype.xx后自动设置Function.xx??????????????????●●●●●●●●●●
- 怎样用js解码GB2312格式的字符串
- 如何取到鼠标点到的table的行和列的值?
- 当前窗口输出
- 如何访问网页中的flash控件的属性和方法?
- 求教
- window.open的问题
- 不显示删除回复显示所有回复显示星级回复显示得分回复 奇怪,使用jquery的dialog如果出现post操作的话,再通过dialog加载页面,则文本框无法获取
test ();
}).focus(function(){
test ();
})