eventUtil.addHandler(go,'click',function (e) {
e=eventUtil.getevent(e);
alert(eventUtil.getElement(e));
eventUtil.preventDefault(e);
eventUtil.stopPropagation(e);
})
要看定义addHandler这个函数的时候,规定了需要传哪些参数.
在函数后面的那个document.getElementById(quot;fruitquot;).value=res;前面加一个return就行了
auyjnluegoxyshmrptikgdevfmczizufzewxsvqscuqkgwusjhyucfefqkatosgzdhcoavjaarcjkxbbdknrsijadxbyruoypvczdgskhzydbylhquyctnfxwceqdwuosupaoamsxrsflzdhrdqpqgnjqftrmlemwkqvfhwzrgtxyjmgozvcgsaw