I need to select the list of select boxes with the id pattern as follows.
id_social_media-0
id_social_media-1
id_social_media-2
I can not use $('select[id^=id_social_media-').each() since there is a hidden element as id_social_media-__empty. I tried with id_social_media-\d, but it does not work.