Advise the ready multi-level horizontal drop-down menu. And tell me how to handle the choice of the menu item? Those. I have say the menu:
продукты | Алкоголь | |.... |___Коньяк |.... |___Пиво |.... |__светлое |__темное How do I know what the user is saying that he chose a dark beer and already in the script (python cgi), based on this choice, make a selection from the database?
About how to get the value, came up with this.
print "<a href=\"?a_graid=test\">aaa</a>" form = cgi.FieldStorage() t = form.getfirst('a_graid', '') print t