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