편집 기록

편집 기록
  • 프로필 편집요청빌런님의 편집
    날짜2018.09.12

    javascript 대소문자 무시하기 급해요ㅠㅠ 웹 신님이 계시다면 도와주세요ㅠㅠㅠ


    <li><a><img src="img/location/airport.png"><h3>공항은 어디 있나요?</h3><h3>Where is the airport?</h3></a></li>
    
    $(document).ready(function () {
        $("#search-mini").keyup(function () {
    
          var k = $(this).val();
    
          $(".content > ul > li > a").hide();
    
          var temp = $(".content > ul > li > a > h3:contains('" + k + "')");
    
          $(temp).parent().show();
        });
     });
    

    html # h3태그 부분에서 Where is the airport? 라는 문장을 검색할 때 where 이라고 쳐도 나오게 하고 싶은데 대소문자 구분 무시 하는 방법 좀 알려주세요ㅜㅜ

  • 프로필 알 수 없는 사용자님의 편집
    날짜2018.09.11

    javascript 대소문자 무시하기 급해요ㅠㅠ 웹 신님이 계시다면 도와주세요ㅠㅠㅠ


    <li><a><img src="img/location/airport.png"><h3>공항은 어디 있나요?</h3><h3>Where is the airport?</h3></a></li>

    ```$(document).ready(function () { $("#search-mini").keyup(function () {

      var k = $(this).val();
    
      $(".content > ul > li > a").hide();
    
      var temp = $(".content > ul > li > a > h3:contains('" + k + "')");
    
      $(temp).parent().show();
    });
    

    });```

    html # h3태그 부분에서 Where is the airport? 라는 문장을 검색할 때 where 이라고 쳐도 나오게 하고 싶은데 대소문자 구분 무시 하는 방법 좀 알려주세요ㅜㅜ