Menu
A request from a javascript light-weight……
I want to query a field (zipcode) and extract the 2 leftmost bytes.
Specific 2-byte pair values will result in links to specific pages.
If the pairs do not match these values, a link to a default page occurs.
DIM zipcode as String
DIM pair as String
pair = Left$(zipcode,2)
I can’t figure out how to get this into a javascript.
The value for zipcode will come from an input box in a form.
Any help you can provide will be much appreciated.
Thanks,
Vince (stuck in the 80’s)