My javascript is weak and i am not sure if this is even possible. I have a drop down menu that i would like to get the Attr value from. These are snippets that i hope will explain what i am trying to do. getAttrs(["npc_check","sr","ss","ss_dice","sr_dice","alchemy_dice" ,"animal_handling_dice" ,...."], function(v) { //get the values for the two attributes, so they can used. var srval = String(v.sr.toLowerCase()); srval = srval+"_dice"; var srvaldice = String(v.srval.valueOf()); <-- Problem statement sr is basically a list of possible skills in a pull down menu (alchemy, animal_handling, etc) srval starts off being "alchemy" then gets concatenated and becomes "alchemy_dice" The value stored in the attr alchemy_dice is 1d6 as an example. I would like to make the variable srvaldice be equal to 1d6 in the above example. I have tried multiple variations to the problem statement with no luck. Any help would be appreciated. Thanks