任何想法如何在ajax响应后绑定mootools中的mouseover
事件。
尝试如下
onSuccess : function(responseTree, responseElements, responseHTML, responseJavaScript) {
Elements.from(responseHTML).inject($('load-content'));
$('load-content').fireEvent('mouseover');
}
但是它不起作用
尝试以下操作:
$('load-content').addEvent('mouseover', function(e){
// your code
});