Functiondojox.regexp.us.state

dojo.require("dojox.validate.regexp");
defined in dojox/validate/regexp.js

A regular expression to match US state and territory abbreviations

Usage

function (/*Object?*/ flags) (view source)
parametertypedescription
flagsObjectOptional. allowMilitary Allow military 'states', e.g. Armed Forces Europe (AE). Default is true.