dojox.validate.us.isState
dojo.require("dojox.validate.us");
defined in dojox/validate/us.js
Validates US state and territory abbreviations.
parameter | type | description |
---|---|---|
value | String | A two character string |
flags | Object | Optional. allowMilitary Allow military 'states', e.g. Armed Forces Europe (AE). Default is true. |