Javascript only partially running after loaded

I have a Javascript that was working up until recently on this page:

What is supposed to happen is you type in the Zip code and it takes you to a certain page based on what you type. It works with the first 200 instances of the code, but the remainder are erroring out.

An example is if you type 91011 it takes you to this page: However if you type in 90016, it should take you to the same page, but it errors out. The only reason I can find is that it is lower in the js document

Here are the JS files I am linking to:

<script src="file/js/zipscript.js" type="text/javascript"></script>
<script src="file/js/zipcodes.js" type="text/javascript"></script>

And they are located here: and

Any ideas? Thanks!

Read more here:

Content Attribution

This content was originally published by Leslie Sundal at Recent Questions - Stack Overflow, and is syndicated here via their RSS feed. You can read the original post over there.

%d bloggers like this: