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