0

找不到错误,我只想用click

<script type="text/javascript">
$(#register_link).click(function(){
     $(#signin).animate({visibility:hidden;},"slow");
});
</script>
4

2 回答 2

2

使用引号:

$('#register_link').click(function() {
    $('#signin').animate({visibility:hidden;},"slow");
});
于 2012-05-16T07:02:05.327 回答
1

你错过'了选择器的引号

$('#register_link').click(function()
{
  $('#signin').animate({visibility:hidden;},"slow");
});
于 2012-05-16T07:02:30.533 回答