I am developing a mobile app using JQuery Mobile. Wanted to know whether can i create a HashMap the way we can do it in JAVA, in JQuery Mobile?
If yes, then how? please if possible provide me some example.
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
In plain Javascript it is possible to create something very similar to a java HashMap:
Put something in it:
Get something out of it:
For most purposes this will do, but it is not exactly the same as a hashmap, see for example this question:
JavaScript Hashmap Equivalent