0
私はこの小さなスクリプトがあります。Javascript Mootoolsイベントと彼の呼び出し元をクリックしますか?
var moolang = new Class({
initialize: function(element) {
this.el = $(element);
this.el.addEvent('click', this.popup);
},
popup: function()
{
//this.id = the id of the element.
}
});
を、私はポップアップ機能で「これを」知りたいです。しかし、私は警告(this.el.id)のようなものを試してみると、this.el:/
イベントがどのクラスを追加するのか知る方法はありますか?