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
Connecting Outlook 2010 to an exchange server remotely
create xml script using coldfusion
IIS Web site works in all browsers except Safari on Mac
FTP not working on Windows Server 2008 IIS 7
Http dynamic Compression not work if We using text/html
Trouble with images in Outlook when received from a MAC
navigation buttons wrapping funny
Should Sys Admins (Domain Admins) also have user accounts?
are there any inherent issues introducing a server 2008 system into a predominantly 2003 network?
Backup Exec 2010 can not view DAG, Exchange 2010