Form functionality that compares value submitted to hidden fields...

Form functionality that compares value submitted to hidden fields...

So I'm new to jQuery and loving it!  I've got a problem I'm not sure even where to begin.

I have a form I'm going to present to visitors.  The goal is that when a visitor enters a Zip Code, for the form to compare that Zip Code submitted to Zip Codes that I'll hide in the form.  I'm not sure if it's better to have the hidden zip code values as comma separated or just let them have their own individual hidden input fields.  When the form is submitted, I need it to check and find out if the submitted zip code matches any of the hidden zip codes.  If any of the hidden values match the submitted value, I want to be able to have a hidden div be shown, but if the form is submitted and there are no zip codes that match, show another div.  Something like this:

<form>
<input name="hidden_zip_codes" class="hidden_zip_codes" type="hidden" value="12345, 12346, 12347, 12348, etc." />
<input name="zip_codes" id="ZipCode" type="text" />
<input type="submit" name="compare" id="compare" class="button" value="Go" />
</form>

<div id="results_match">Congrats...your results matched!</div>
<div id="results_no_match">Sorry, your results did not match</div>

Any help (even if pointing me to Google with the right search terms) would be greatly appreciated!