IE7/IE8 javascript drop down menu used to redirect not working
<p>The error I see from IE7/IE8 in Jquery v1.7.2 and v.1.7.1 - i tried both:</p>

<pre><code> SCRIPT438: Object doesn't support property or method 'apply' 
</code></pre>

<p>My Code:</p>

<pre><code> &lt;form&gt;
 &lt;select id="stateD" OnChange="showState()"&gt;
 &lt;option value="none" selected="selected"&gt;==========&lt;/option&gt;
 &lt;option value="http://www.google.com"&gt;google&lt;/option&gt;
 &lt;option value="http://www.yahoo.com"&gt;Yahoo&lt;/option&gt;
 &lt;/select&gt;
 &lt;/form&gt;
</code></pre>

<p>My Javascript - I have this pasted just below the webform:</p>

<pre><code>&lt;script type="text/javascript"&gt;
 function showState(){
oStates = document.getElementById("stateD");
var jLink = $("#stateD :selected").val();
if (jLink == undefined || jLink == "none" ){ alert("Please Select a State"); }
else{ document.location.href=jLink};
 }
&lt;/script&gt;
</code></pre>

<p>I'm not using 2 libraries so i don't get why its having a problem. All that is supposed to happen is you select a url from the drop down menu and it auto sends you to that url that is in the value of the option tag.  Works everywhere else, not sure why IE has to be such a jerk today.</p>

<p>I'd post a url but i can't at the moment. its private. has anyone encountered this issue before?</p>
