jquery 여러 요소 선택

695 단어 jquery
<!DOCTYPE html>
<html>
<head>
    <title>sele1,sele2,seleN   </title>
    <script src="http://libs.baidu.com/jquery/1.9.0/jquery.js" type="text/javascript"></script>
</head>
<body>
    <div class="red">   !  red</div>
    <div class="green">   !  green</div>
    <div class="blue">   !  blue</div>
</body>
<script type="text/javascript">
   $(".red,.green").html("hi,        !");
</script>
</html>

여러 원소 중간용,
I always like walking in the rain,so no one can sen me crying.

좋은 웹페이지 즐겨찾기