check text length of each in jquery code example Example: string length jquery var string = "string" string.length