get all elements with id starts and class code example Example: get all elements with id starts and class $('[id^=editDialog]')