Accessing arrays(hashmap) in javascript -
im populating hashmap this
var temp = ${task.get(i).id}; wf.map[temp]=${task.get(i).isconnected()};
while accessing map, im accessing in way
var temp = taskid.value; var connected= this.map[temp];
here, im getting connected undefined. in case, temp = "00000114000000000002"
. accessing this.map["00000114000000000002"}
gives me same problem.
instead if access this.map[00000114000000000002]
, works absolutely fine.
i tried typecast temp number, int , no luck.
how deal issue?
Comments
Post a Comment