An easy way to do this is to hard-code your wedding items as a JSON object.
You could then grab the details from the JSON object based on the ID of the cart item. see: http://www.json.org/example.html On Jul 9, 11:04 am, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> wrote: > Not the best at javascript/ajax/making coffee as google has been my > teacher, but I am constructing a 'wedding calculator' > > http://www.blakelands.co.uk/Cart > > to calculate a price based on the items dragged into the 'shopping > cart'. > > How would I assign numeric values to these products (without the use > of mysql) and have it dynamically adding up in the last box? > > You are talking to someone who is incredibly dim so please break it > down if you can! > > Thanks muchly --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Spinoffs" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/rubyonrails-spinoffs?hl=en -~----------~----~----~----~------~----~------~--~---
