0
我在想,如果這個使用jQuery或標準的JavaScript對象中的JavaScript中創建EventHanlder
function myObj (x,y)
{
this.x=x;
this.y=y;
//above doesn't really matter much
// real question below
$(this).click(function(){
//place some javascript fucnction in here to run when something happens
});
}
你在說什麼? – SLaks 2012-04-27 15:37:11
你想要做什麼? – skafandri 2012-04-27 15:44:08