[Zope] Loading Javascript Arrays with ZSQL Method

Kevin Carlson khcarlso@bellsouth.net
Tue, 04 Feb 2003 18:02:48 -0500


You will most likely have to use the results of your ZSQL query to 
generate Javascript code that contains the correct array data.

Mike Doanh Tran wrote:

>Hi all,
>
>It is possible to load a Javascript array using data from a ZSQL Method?
>Maybe some of you can give me a better way of doing this without using 
>Javascript.
>
>I just want to create a dynamic drop down menu that users can select from and 
>be able to display contents gather from a database query according to their 
>selection.  For example,  if a user select category A.  Then it will display 
>all items for category A pulled from a database column.  if select category 
>B, then display all B items, etc.
>
>Thanks in advance,
>
>Mike
>
>
>
>
>
>  
>