Search...
FAQs
Subscribe
Pie
FAQs
Recent topics
Flagged topics
Hot topics
Best topics
Search...
Search within HTML Pages with CSS and JavaScript
Search Coderanch
Advance search
Google search
Register / Login
Post Reply
Bookmark Topic
Watch Topic
New Topic
programming forums
Java
Mobile
Certification
Databases
Caching
Books
Engineering
Micro Controllers
OS
Languages
Paradigms
IDEs
Build Tools
Frameworks
Application Servers
Open Source
This Site
Careers
Other
Pie Elite
all forums
this forum made possible by our volunteer staff, including ...
Marshals:
Tim Cooke
Campbell Ritchie
Jeanne Boyarsky
Ron McLeod
Liutauras Vilda
Sheriffs:
Rob Spoor
Junilu Lacar
paul wheaton
Saloon Keepers:
Stephan van Hulst
Tim Moores
Tim Holloway
Carey Brown
Scott Selikoff
Bartenders:
Piet Souris
Jj Roberts
fred rosenberger
Forum:
HTML Pages with CSS and JavaScript
Map + Javascrip
Gustavo Santos
Ranch Hand
Posts: 40
posted 12 years ago
Number of slices to send:
Optional 'thank-you' note:
Send
Hello guys,
I'm having a problem which I'm not sure how to solve it. I have a Map<
String
, Integer> and I would like to access this Map on my javascript.
Does anyone know how to do it?
Thanks in advance.
David Newton
Author
Posts: 12617
I like...
posted 12 years ago
Number of slices to send:
Optional 'thank-you' note:
Send
Use JSTL to generate the JavaScript, or serialize it (carefully--be wary of malformed JavaScript, created either unintentionally or maliciously) to a JSON object and render it.
Don't get me started about those stupid
light bulbs
.
reply
reply
Bookmark Topic
Watch Topic
New Topic
Boost this thread!
Similar Threads
Map / hashcode question
ActionForms and html:link
Creating a copy of an object
Spring Related-- @Autowired with Map<String, myObjectType> is not initialized in the IoC container
problem using '?' in url-pattern
More...