Friday, August 24, 2012

Multidimensional Array in Javascript with Non Numeric Index

Is their any way to create mutidimensional arrays in Javascript with Non Numeric Idex?


like the structure



optionList[0][\'id\'] = \"equals\";
optionList[0][\'name\'] = \"Equals\";

optionList[1][\'id\'] = \"not_equals_str\";
optionList[1][\'name\'] = \"Does Not Equal\";

optionList[2][\'id\'] = \"contains\";
optionList[2][\'name\'] = \"Contains\";






Rating: 3 out of 5 based on 5 ratings



The post Multidimensional Array in Javascript with Non Numeric Index appeared first on Javascript ASK.






via Javascript ASK http://javascriptask.phpfogapp.com/multidimensional-array-in-javascript-with-non-numeric-index.html

No comments:

Post a Comment