Hi, you can do it on server-side with templates or client-side with javascript.
Server-side: Create html templates for your query: A Header template with: <select> A body template with: <option value="[item1]">[item2] And a Footer template with: </select> Then your query returns the HTML for a drop down box. Client-side: Create a body template that returns a list of the results: [item1],[item2],[item3] Then your query returns text, which you can transform with javascript into the HTML for a drop down box. Arnd Wippermann -----Ursprüngliche Nachricht----- Von: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Im Auftrag von S.Reena Gesendet: Sonntag, 27. Juli 2008 11:37 An: [email protected] Betreff: [OpenLayers-Users] Include drop down box in popup that contains query result I have made popup in UMN openlayers. I want to make a dynamic drop down box in it that shows result of the postresql database query. Can any one guide me up as to what to use..Python or something else.. Cheers, Reena. -- View this message in context: http://www.nabble.com/Include-drop-down-box-in-popup-that-contains--query-re sult-tp18674744p18674744.html Sent from the OpenLayers Users mailing list archive at Nabble.com. _______________________________________________ Users mailing list [email protected] http://openlayers.org/mailman/listinfo/users _______________________________________________ Users mailing list [email protected] http://openlayers.org/mailman/listinfo/users
