Akopia Akopia Services

[Date Prev][Date Next][Thread Prev][Thread Next][Minivend by date ][Minivend by thread ]

[mv] Javascript and *.asc databases



******    message to minivend-users from "Brent Worley" <brent@12ave.com>     ******

I am implementing a javascript function which is to load drop down boxes on
the fly.  I am trying to avoid hard-coding any of the products.  This is the
command that is giving me problems:

var colors = new Array([loop search=ItemSearch]"[loop-field
color]","[loop-field fabrics]",[/loop]);

I am trying to loop through the two database fields and extract the
information there to an arrary.  However, the problem that I have run into
deals with the colors.  When the array is loaded it should appear as:

"COLOR","FABRIC","COLOR","FABRIC","COLOR","FABRIC", etc....

However, it is returning all the colors grouped togeter as they are in the
database:

"COLOR,COLOR,COLOR,COLOR.....","FABRIC,FABRIC,FABRIC...."

I am not sure if it is even possible to do what I am trying to do, but if
anyone has any suggestions on how to correct this problem it would be
greatly appreciated.


Brent
12th Avenue Systems
brent@12ave.com

-
To unsubscribe from the list, DO NOT REPLY to this message.  Instead, send
email with 'UNSUBSCRIBE minivend-users' in the body to Majordomo@minivend.com.
Archive of past messages: http://www.minivend.com/minivend/minivend-list


Search for: Match: Format: Sort by: