-1
我想用prototypejs重新编写下面的jquery代码。我怎样才能做到这一点?使用prototypejs编写鼠标悬停功能
<a class="btn" id="control" href="javascript:control();">Control</a>
$('#control').on({
mouseover: function() {
$('#bg2').css({
background: '#F93'
});
},
});
后的你寻求帮助之前尝试过的片段。 – 2015-03-13 14:17:55