这个问题已经有了一个答案:
这段代码:
$('#myBox').css('background', 'grey'); $('#myBox').click( function(e){ console.log( 'Box clicked' ); }); $('#myBox').html(' Just a test text ');
相似问题