I\'m making a custom select dropdown. I\'m trying to convert the options to li elements which works so far. For the conversion I simply use $(selector).each(..). But I want,