title: Javascript createTextRange(); issue
body: <p>After excuting alert, next line gives an error.how can I fix this using javascript or jquery?</p>
  
  <pre><code>    for(var nI = 0; nI &lt; aOrderNumList.length; nI++) {
          if(!isEmpty(aOrderNumList[nI])) {
              alert("Invalid Order Number");
              var oTextRange = $("#OrderNumList").createTextRange();
              var lFound = oTextRange.indexOf(aOrderNumList[nI])!=-1;
              if(lFound) {
                 oTextRange.select(); 
              }
              return false;
          }
      }
  </code></pre>
  
  <p>HTML code </p>
  
  <pre><code>    &lt;tr&gt;
           &lt;td&gt;Order Number List:&lt;/td&gt;
           &lt;td&gt;&lt;textarea tabindex="&lt;%=nIndex+1%&gt;" id="OrderNumList" name="OrderNumList" rows="2" cols="35" &lt;%=VClass("OrderNumList","")%&gt;&gt;&lt;/textarea&gt;&lt;/td&gt;
      &lt;/tr&gt;
  </code></pre>
  
  <p>Thank you very much.</p>