jquery how to get the text lenght code example Example: string length jquery var string = "string" string.length