I am a javascript noob. What I would like to do is take the name of my selector id and use it as the name for another array. I get all types of errors when I try to code this :(
var this.id = {};
or
var string(this.id) = {};
gives back some nasty errors :(
The this refers to my current selector and is the input I am using. this.id is giving me the proper string for the input ID. So that works, at least according to console.log()
This is what I am trying to do...
myObject =
{"ID of selector" = {variable A = 123, variable B = 493, variable C = 293},
"ID of selector" = {variable A = 493, variable B = 492, variable C = 342}
}
Thanks for all help!