Outputting menus into a dropdown


#1

I would like to output menu items set in a simple or advanced menu module (whichever would suit) into an HTML select output, something like the following:

<select>
  {% for item in MenuItems %}
    <option>{{ item }}</option>
  {% endfor %}
</select>

Is this possible?

Thanks