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
Can I use a sql query file (.sql) with bcp.exe?
Controlling Exchange 2010 port usage + some mythbusting
help calling javascript function
Dead harddrive - clicking sound
I want free software for foxpro2.6 for dos ?
get wrong autodiscover server in warning message....
Command Button Images
RHCE Exam
C# WMI query for getting current logged on user doesn't work on Windows 7
Network / Internet issues