title: Can't get event blur with asp.net mvc 3
body: <p>Hi guys I've struggling how to get the event blur from a asp.net mvc 3 strongly typed view.
  This is what i've tried.</p>
  
  <pre><code>&lt;table&gt;
   &lt;td class="contentTable"&gt;
       @Html.LabelFor(model =&gt; model.Ciudad)
    &lt;/td&gt;
    &lt;td&gt;
       @Html.EditorFor(model =&gt; model.Ciudad, new{id= "mapSearch"})
       @Html.ValidationMessageFor(model =&gt; model.Ciudad)
   &lt;/td&gt;
  &lt;/table&gt;
  
  
  &lt;script type="text/javascript"&gt;
      $(function () {
          $('#mapSearch').blur(function () {
             myFunction();
         });
  });
  &lt;/script&gt;   
  </code></pre>
  
  <p>myFunction is already a function that I'm using fired by a button, but now I wanted it fired by an event. I've also tryed with:</p>
  
  <pre><code>@Html.EditorFor(model =&gt; model.Ciudad, new{onblur= "mapSearch();"})
  </code></pre>
  
  <p>Thanks</p>