can't trigger blur event
<p>I have some jquery that is triggered by a blur event on the last input field of five.  I can tab through the  input fields and trigger the event no problem but I want to be able to do this with the enter key.  I have some code I found online that makes the enter key act like the tab key but for some reason when it gets to the last field and I hit enter it won't leave the field and trigger the event.  I tried putting a hidden input field after the blur event field but that doesn't work either.</p>

<p>The code that I'm using to make my enter key act like my tab key</p>

<pre><code>$(document).ready(function()
{
    if($.browser.mozilla) 
    {
        $(".Enter").keypress(checkForEnter);
    } 
    else 
    {
        $(".Enter").keydown(checkForEnter);
    }
});

function checkForEnter(event) 
{
    var lfound = false 
   if(event.keyCode == 13) 
   {
    var obj = this;
      $(".Enter").each(function() 
      {
        if(this == obj) 
        {
            lfound = true
         } 
         else 
         {
            if(lfound) 
            {
                $(this).focus()
               $(this).select();
               event.preventDefault();
               return false;
            }
         }
      });
   }
}  
</code></pre>

<p>And here is the code for my last input field </p>

<pre><code>To &lt;input type="text" name="SearchRecordsEndDate" id="SearchRecordsEndDate" class="Enter" size="7" /&gt;
</code></pre>

<p>Any help would be greatly appreciated!!!!!</p>
