I want to set object properties using a string selector. I have a string model.name and I have a object to store the values in. Instead of storing the value in object[model.name] I want to store it in object[model][name].
How can that be accomblished with javascript/jQuery or a javascript/jQuery plugin?