jquery¿¡¼ Å×À̺í(Ç¥)¿¡ ¸¶¿ì½º ¿À¹ö½Ã ÇØ´ç Çà(TR)ÀÇ ¹è°æ»ö»óÀ» º¯°æÇÏ´Â ¹æ¹ýÀÔ´Ï´Ù.
<script>
$(document).ready(function(){
$('table tr').mouseover(function(){
$(this).css("backgroundColor","#ccc");
});
$('table tr').mouseout(function(){
$(this).css("backgroundColor","#fff");
});
});
</script> |
|