The CF will perform its job when the page is created, thus providing the initial state of the page. The JS will take over from that point. I've blended the two as per your example in the past with no problems.
On 12/15/05, Bryan Stevenson <[EMAIL PROTECTED]> wrote: > Hey James, > > I've had a chance to checkout your CFAJAX examples and have a quick question > on > a specific technical issue I was hoping you could answer before I climb on the > AJAX wagon ;-) > > THE SCENARIO: > I use this in my data driven select box options: > <option value="#recID#" <cfif recID eq > FORM.mySelectBox>selected</cfif>>#recDisplayValue# > > THE POSSIBLE ISSUE (although I think it would be fine): > If I was using CFAJAX to change the option values (and displayed values) based > on some user action (like your related select box example), do you forsee any > issues with my code above still running correctly? > > I'm just not sure what would happen if I change the option values and > displayed > values via JS (your list box II example)....how my bit of CF tucked in there > would react. > > I'm also fighting a nasty cold....so my brain may be playing tricks on > me...this > seems like it should be fine...but making sure ;-) > > TIA > > Cheers > > PS...thanks for those examples....simple and clear! > > Bryan Stevenson B.Comm. > VP & Director of E-Commerce Development > Electric Edge Systems Group Inc. > phone: 250.480.0642 > fax: 250.480.1264 > cell: 250.920.8830 > e-mail: [EMAIL PROTECTED] > web: www.electricedgesystems.com > > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Discover CFTicket - The leading ColdFusion Help Desk and Trouble Ticket application http://www.houseoffusion.com/banners/view.cfm?bannerid=48 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:227074 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4 Donations & Support: http://www.houseoffusion.com/tiny.cfm/54

