That was supposed to be "appropriate number or name". Also, make sure you
have an ID on your menu select box,

Phil

On Wed, Nov 25, 2009 at 11:13 AM, Phillip Duba <[email protected]> wrote:

> Terry,
>
> I did this exact same scenario. Here are my basic steps:
>
> 1.) Create a <cfajaxproxy> bind event like
>
> <cfajaxproxy bind="javascript:getDetails({m...@change})">
>
> 2.) Then create a JavaScript function called getDetails and inside include
> the following:
>
> var menuIndex = document.forms['theForm'].menu.selectedIndex;
> var menu_id = document.forms['theForm'].menu[menuIndex].value;
> ColdFusion.navigate('prod2.cfm?id=' + menu_id),'product_display');
>
> Obviously, change the 'theForm' to an appropriate number of name. That's
> how I handle on a few forms for our site,
>
> Phil


~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Want to reach the ColdFusion community with something they want? Let them know 
on the House of Fusion mailing lists
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:328670
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

Reply via email to