title: Javascript jQuery error firing in Internet Explorer
body: <p>Here is the code and the error message:</p>
  
  <blockquote>
    <p>Webpage error details</p>
    
    <p>User Agent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.1; WOW64;
    Trident/4.0; SLCC2; .NET CLR 2.0.50727; .NET CLR 3.5.30729; .NET CLR
    3.0.30729; Media Center PC 6.0; .NET4.0C; .NET4.0E; InfoPath.2) Timestamp: Wed, 18 Jan 2012 20:26:33 UTC</p>
    
    <p>Message: Unexpected call to method or property access. Line: 3 Char:
    31959 Code: 0 URI:
    <a href="https://ajax.googleapis.com/ajax/libs/jquery/1.7.1/jquery.min.js" rel="nofollow">https://ajax.googleapis.com/ajax/libs/jquery/1.7.1/jquery.min.js</a></p>
  </blockquote>
  
  <p>And the Jquery Code:</p>
  
  <pre><code>    &lt;script type="text/javascript"&gt;
          $(document).ready(function() {
              $('.small-list-items-pagination li a').click(function(e) {
                  e.preventDefault();
                  $.ajax({
                      type: "GET",
                      url: '/Noticias/FetchMiniNoticiasFromPage',
                      data: "page=" + $(this).text(),
                      dataType: "json",
                      success: function (data) {
                          $('.small-list-items li').remove();
  
                          $.each(data, function(i, val){
                              $(".small-list-items").append('&lt;li&gt;' +
                                  '&lt;img src="' + val.ImagenChicaUrl + '" alt="' + val.Descripcion + '"/&gt;' +
                                  '&lt;a href="#"&gt;' + val.FechaDePublicacion + '&lt;/a&gt;' +
                                  '&lt;p&gt;' + val.Descripcion + '&lt;/p&gt;' +
                                   '&lt;div class="horizontal-line"&gt;&lt;/div&gt;' +
                              '&lt;/li&gt;');
                          });
                      },
                      error: function (obj) {
                          alert("bad!");
                      }
                  });
              });
          });
      &lt;/script&gt;
  </code></pre>
  
  <p>Any ideas what's wrong? This works great in Firefox, Opera, Google Chrome.</p>
  
  <p>This line:</p>
  
  <pre><code>'@Url.Action("FetchMiniNoticiasFromPage", "Noticias")'
  </code></pre>
  
  <p>Actually compiles to:</p>
  
  <pre><code>'/Noticias/FetchMiniNoticiasFromPage'
  </code></pre>