Basically i have the 2 inputs:

```
<input type="text" style="height: 30px;" class="input-xlarge" placeholder="Username" name="username" id="username" required><br /><br />
<input type="password" style="height: 30px;" class="input-xlarge" placeholder="Password" name="password" id="password" required><br /><br />

```

And basically,

I want to check the value in both these inputs, and check them to a said value (later to a database, but for check purposes now) and then fade into a new page..

How would i go about doing this?

I started it off..:

```
$(function() {
    $("#submit").click(function() {
        //do check
    });
});

```