I have been provided with a jquery script to verify an email and password from a form. I am slighly unsure how to call these functions. Any help would be greatly appreciated.

```
    app.login = {
        init: function() {
            $('#login form').submit(function(event) {
               // call functions here
            });
        }
    },
    app.validation = {
        email: function(email) {
            var re = /^(([^<>()[\]\\.,;:\s@\"]+(\.[^<>()[\]\\.,;:\s@\"]+)*)|(\".+\"))@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\])|(([a-zA-Z\-0-9]+\.)+[a-zA-Z]{2,}))$/;
            return re.test(email);
        },
        password: function(id) {
            var elementVal = $.trim(id.val());
            alert(elementVal)
            if(elementVal.length > 0)
                return true;
        }
    };

```

My html looks like this:

```
<form id="login">
    <input type="text" class="input-box" id="email">
    <input type="password" class="input-box" id="id">
    <input class="bottom" type="submit" value="Sign In">
</form>

```