6 Replies Latest reply on Apr 19, 2010 4:47 AM by Ned Murphy

    Ignore Case sensitiveness

    Ron Colmen Level 2

      i"ve got a SEARCH facility in my website. It is case sensitive. How do alter the script below to search ignoring case sentitiveness?

       

      Eg. if someoene types "Pigs" or "PIGS" or "PIGs" it should bring the same result.

       

      sruch_btn.onRelease = function () {

      if (cosearchbx.text == "Pigs"){
      clearTimeout(srch1TO);
      srch1TO=setTimeout(srch1F,5000);
      srch1._visible = true;
      }
      function srch275F(){
      srch275._visible=false;
      }

      }