js jquery class ending with string code example Example: js jquery class ending with string $('div[class^="begening-"][class$="-ending"]')