<script type="text/javascript">
$(document).keydown(function(event)
{
var e=event.srcElement;
if(event.keyCode==13)
{
$("#login").click();
return false;
}
});
</script>