javascript - List function in XPages -


i use same function in xpages via javascript.

dim firstlist list double dim secondlist list double   firstlist("any")= 0  firstlist("many")= 2  firstlist("work")= 23  

any suggestion appreciated.
regards
cumhur ata

use javascript object:

initialize object with

var firstlist = {any:0, many:2, work:23}; 

or

var firstlist = {}; firstlist.any = 0; firstlist.many = 2; firstlist["work"] = 23; 

get entry value

var anynumber = firstlist.any; var manynumber = firstlist["many"]; 

Comments

Popular posts from this blog

java - Run spring boot application error: Cannot instantiate interface org.springframework.context.ApplicationListener -

python - pip wont install .WHL files -

Excel VBA "Microsoft Windows Common Controls 6.0 (SP6)" Location Changes -