找不到错误,我只想用click
<script type="text/javascript">
$(#register_link).click(function(){
$(#signin).animate({visibility:hidden;},"slow");
});
</script>
答案 0 :(得分:2)
使用引号:
$('#register_link').click(function() {
$('#signin').animate({visibility:hidden;},"slow");
});
答案 1 :(得分:1)
您错过了'
选择器的引号
$('#register_link').click(function()
{
$('#signin').animate({visibility:hidden;},"slow");
});