Microsoft
Software
Hardware
Network
Question : JS Object Key Variable?
var tool = 'something'
stack = { tool : 'data'}
it always returns key as "tool" instead of the value of "tool" which is "something"
im trying to accomplish the following in JS but here is a PHP example
$tool = "something";
$stack[$tool] = data;
i know its not pretty.....
Answer : JS Object Key Variable?
use :
1: 2: 3: 4:
var stack = {}; var tool = 'something'; stack[tool] = 'data'; //alert(stack.something);
Random Solutions
VBScript Exchange 2003 set user storage limit
Routing
DHCP Client service keeps stopping when you reboot.
show ip eigrp neighbors - What does the 'H' stand for ?
double proxy in IE
Sony Bravia no sound output from my PC
Locking down Exchange in SBS 2003
Open Source SMDR for use with Avaya IP Office v6
ASP
can't find Printer Setup Utility in Mac OS X 10.5.8