I am trying to update/create session variable when I change the option thru a drop-down box. TThe value is stored in a javascript function. Can any1 tell me how I can pass this
The only alternative I can think of is using javascript to set a parameter in the URL which you could interpret later with PHP, but that would be after another page load.
http://www.mine.com/index.html?paramter=variable&anotherparam=anothervariable
see this post for a method to achive this
edit: I don't think this will achive what you after on second thought, but I'll leave the answer just in-case