Вот сам код
var Go = {
Login: function(){
$("#login").submit();
}
}
<form method="POST" action="">
<div class="fl_l padr3">
<input type="hidden" name="act" value="login"/>
<input type="text" placeholder="E-mail" name="email" id="log_email" maxlength="50" class="inputs">
</div>
<div class="fl_l padr3">
<input type="password" placeholder="Пароль" name="password" id="log_password" maxlength="50" class="inputs">
<input type="hidden" name="ip_h" value="{ip_h}"/>
</div>
<div class="fl_l color_w">
<a class="fl_l" name="log_in" id="login_but" onclick="Go.Login(); return false">Войти</a>
</div>
</form>