function mouseEvent(id,msg){
$(id).onfocus=function (msg){
font=this.name+'info';
showInfo(font,'请输入6-12个由数字和字母组成的帐号','#835345')} }
我想实现的是mouseEvent里面的msg参数,传到function 那个参数,然后showInfo调用,为什么不能这样,$(id).onfocus=showInfo(font,'这里是显示的信息','#000000')
慕标琳琳
千万里不及你
相关分类