Using jQuery to validate a password field

Using jQuery to validate a password field

Hi all,  I'm sure this is going to be a ridiculous question.  But I'm stuck and I can't get my second javascript file to do anything.

The html looks something like this:

<script type="text/javascript" src="/js/jquery-uncompressed.js"></script>
<script type="text/javascript" src="/js/jscript.js"></script>

jquery-uncompressed.js is the jquery file and jscript.js is my own external file

here is the script in

jscript.js :

$("input#UserPasswordVerify").change(function() {
    if ($("input#UserPasswordVerify").value === $("input#UserPassword").value){
        $("input#submit").disabled = false;
    } else {
        alert('The passwords do not match');
    }
})

Can anyone tell me why this is not being recognized, or if it is and just doesn't work?

Thanks!