[jQuery] NS_ERROR_XPC_JS_THREW_STRING with jquery 1.3

[jQuery] NS_ERROR_XPC_JS_THREW_STRING with jquery 1.3


This error seems to be rearing its ugly head in FF3 using jquery 1.3.
When I was using the latest 1.2.6 for jquery I would get a little
warning in firebug that said...
Empty string passed to getElementById().
This wouldn't cause anything bad to happen and things would move on
just fine. IE7 didn't do anything strange.
But with the new 1.3 it stops both browers dead in its tracks with a
real error. Here is a simplified version that replicates the error...
<html>
<head>
<script type="text/javascript" src="jquery-1.3.min.js"></script>
<script type="text/javascript">
$(function(){
        $(':text').keyup(function(){
            var inputArray = $('input');
            for(i=0;i<=inputArray.length;i++)
            {
                $('#'+$(inputArray[i]).attr('name')).removeClass("error");
            }
            $('#submit').attr('disabled',false);
        });
});
</script>
</head>
<body>
                <form id="form1" method="post" action="SetSearch" >
                    Customer Number
                    <input type="text" class="numeric" id="number" name="number"
maxlength="6" tabindex="2" size="6" />
                    <input type="submit" tabindex="6" value="Search" id="submit" />
                </form>
</body>
</html>
Any help would be greatly appreciated.
Bryce