jquery how to select all the class elements start with “text-“?

Try this. For more details refer jquery selectors

$('*[class^="text"]')

Leave a Comment