使用jQuery入门中,各种不明白的问题,这又是一个不知道为什么的问题。。大家请进。。想实现一个很简单的功能:一
使用jQuery入门中,各种不明白的问题,这又是一个不知道为什么的问题。。大家请进。。
想实现一个很简单的功能:一个按钮,鼠标移上去的时候字体加粗,
为什么会实现不了呢。。。
[解决办法]
$(document).ready(function () {
$('#verify').mouseover(function () {
$(this).css('color', 'blue');
$(this).css('font-weight', 'bold');
});
$('#verify').mouseout(function () {
alert('');
$(this).css('color', 'green');
});
})
