I've got one more question for you. Let's say that want to call a function instead of using update.cfm as suggested above. How could I write a function in JS that would do the equivalent of the Coldfusion code that's in my update.cfm file currently which is this:
<cfset request.useTemplate = false/> <cfset request.useTemplateWithoutRightMenu = false/> <cfset session.cart[#id#].quantity = #value#> <cfoutput>#value#</cfoutput>