jquery session - dynamic variable naming
问题 just having a problem here. i'm doing the UI of a web-based app using jquery, css. there's a shopping a cart, and i want to store the selected items in the session, i used jquery.session plugin. e.g. var $.session("var1","item1"); What i want is to dynamically store items into dynamically named variables. how could i do that? thanks. 回答1: If there's a shopping cart, that data should be handled by a server side scripting language like PHP. I'm assuming at the end they will be charged via