title: Add class if url CONTAINS href
body: <p>I have this javascript (which works GREAT btw)</p>
  
  <pre><code>$(document).ready(function() {
  $("[href]").each(function() {
  if (this.href == window.location.href) {
      $(this).addClass("select");
      }
  });
  });
  </code></pre>
  
  <p>This works like a dream when the url is exactly the same. However, I want to check the parentage. For example, my href goes to "/DailyDeal.asp?deal=", so my class will only get added if that is the exact url. I want to add the class in a situation such as "/DailyDeal.asp?deal=62".</p>
  
  <p>I think what I want to do is check to see if my current URL contains "/DailyDeal.asp?deal=", or something along those lines, I'm just a noob in JS and have no idea what the syntax is.</p>
  
  <p>Any help would be appreciated.</p>