Because it if you look at the javascript you will see how complex the arrays
are.

For example in the cfoutput for the arrays how would Coldfusion know where
to put the categories where in relation to the select fields and arrays.

For example if I selected Support from the 1st drop down, then all Support
related entries would appear in the second dropdown, if I selected Server
Support from the second select fields then the values in the 3rd select
field would be values related to 'Server Support'

And all of these entries would come from the category_menu table, which I
described in the earlier mail

My point being how do you build this intelligence into the javascript
functions, it is complex enough when you hard code the values into the
javascript, if they are being created dynamically from the database then it
is much more difficult dont you think.?



From: "Thomas Chiverton" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>; "Ian Vaughan"
<[EMAIL PROTECTED]>
Sent: Thursday, November 07, 2002 3:07 PM
Subject: Re: Oracle, Javascript & Coldfusion


On Thursday 07 Nov 2002 14:16 pm, Ian Vaughan wrote:
> I have three javascript cascading drop down menus , how would I populate
> the fields from data in an oracle table called category_menu.  I just
would
> like to know where to start because this is  not as simple as just
> populating a select field

How is a cfoutput around a javascript
Array[#qQuery.currentrow#] = ... '#qQuery.title#' ...
any different from a cfoutput around a HTML
<option name="#qQuery.title#" value="#qQuery.currentrow# ...
?

--
Thomas C
"Does google know ?"



~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: 
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribe&forumid=4
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm

Reply via email to