this might be related to this question
I have a dropdown menu that outputs a option list. In some cases the backend script outputs no options for the select tag.
I want to run a js/jquery that checks for the existence of option tags. If option tag available do nothing If no option tag available run function X.
Cheers