87
rated 0 times
[
88]
[
1]
/ answers: 1 / hits: 18870
/ 7 Years ago, sun, september 10, 2017, 12:00:00
In JavaScript
script I have created following dictionary.
var dictionary =[];
$(function () {
dictionary.push({
key: @item.Key.ToShortDateString().ToString(),
value: @Html.Raw(JsonConvert.SerializeObject(item.Value)),
});
alert(dictionary['2017-09-19']);
});
In alert it shows me undefined
. How can I read value from this dictionary?
More From » jquery