Megan, If you want the page to be refreshed without a reload, then the easiest way is to use some form of Ajax call. With that said, I would recommend looking into any of the number of top-notch libraries out their that will make this task easier. These include:
jQuery - my personal choice (http://jQuery.com) Prototype (http://prototypejs.org) Spry (http://labs.adobe.com/technologies/spry/) Yahoo User Interface Library (http://developer.yahoo.com/yui/) There are other choices out there but these, IMO, offer the best selection of functionality, documentation, and user support. ColdFusion-specific choices include: AjaxCFC (http://www.robgonda.com/blog/projects/ajaxcfc/) MXAjax (http://www.indiankey.com/mxajax/) JSMX (http://www.lalabird.com/) My personal favorite of the 3 is AjaxCFC. Its extremely easy to implement and now uses jQuery under the hood. That in itself adds a ton of functionality to AjaxCFC. Both MXAjax & JSMX, though, are very good libraries. If you want to learn more about Ajax without the use of a library, then checkout the tutorials here: http://www.maxkiesler.com/index.php/weblog/comments/42_recent_ajax_tutorials/ I'm part of the jQuery team and a big advocate for CF users in that project so I hope to see you on the mailing list. Rey... megan cytron wrote: > Hi forum-- > > My client has a pretty complicated product listing and I would like to set > their cart up so that the customer can click on a button and visually add an > item to a list displayed on the same page, without reloading the page. These > items will be put into a database, as well. It's really crucial that the > customer can see his shopping cart and the list of items for sale on the same > screen. > > This is a site that customers have to log in to use, so I have some leeway > technology-wise--in other words, we don't have to support Netscape 4.5--but > I'm basically looking for the simplest implementation for the lowest common > denominator (within reason). I was thinking of dabbling in AJAX (which I know > next to nothing about)? Or is there a simpler way (aside from using frames, > which I refuse to do...). > > muchas gracias, > > Megan Cytron > Alpha 60 Design Shop > Madrid, Spain > > > > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Deploy Web Applications Quickly across the enterprise with ColdFusion MX7 & Flex 2 Free Trial http://www.adobe.com/products/coldfusion/flex2/?sdid=RVJU Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:273058 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

