jquery how to select all the class elements start with “text-“? May 25, 2023 by Tarik Try this. For more details refer jquery selectors $('*[class^="text"]')