Hashmap elements in a request form

S

Susan

I have an http request form containing a hashmap as a request
parameter. Is it possible to retrieve a value from one of the hashmap
elements using JavaScript?

For example:
onclick="alert(document.myform.myMap['mapFieldKey'].value)"

This should show an alert box containing the value of an element in the
hashmap. Is this possible? I have yet to figure out a syntax that will
accomplish this. Any suggestions?

Thanks.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,755
Messages
2,569,534
Members
45,008
Latest member
Rahul737

Latest Threads

Top