How to ignore uppercase/lowercase when selecting pathname? JS/Jquery
<pre><code>if (pathname == "/" || pathname == "/default.asp")
</code></pre>

<p><em>in js using jquery library.</em></p>

<p>I want this to catch "Default.asp" as well as "DeFaULT.asp" and "default.asp"</p>

<p>halp. </p>
