c# - Create new Dictionary with javascript -
i trying figure out how c# "function" in javascript having no luck!?
here c#:
var parameters = new dictionary<string,string> { { "link", "http://mysite.com" }, { "name", "this test" } };
i want think have use "new array" not sure how this?
any appreciated , in advance :-)
here great explanation: javascript associative arrays demystified
var parameters = new array(); parameters['link'] = 'http://mysite.com'; parameters['name'] = 'this test';
Comments
Post a Comment