Hashmap elements in a request form

Discussion in 'Javascript' started by Susan, Feb 1, 2005.

  1. Susan

    Susan Guest

    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.
    Susan, Feb 1, 2005
    #1
    1. Advertising

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

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Brian Birtle
    Replies:
    2
    Views:
    1,986
    John Saunders
    Oct 16, 2003
  2. Vince Darley
    Replies:
    4
    Views:
    4,382
    emilchacko
    Mar 2, 2010
  3. Rakesh
    Replies:
    10
    Views:
    12,143
    Mike Schilling
    Apr 8, 2008
  4. Dani
    Replies:
    5
    Views:
    146
    Richard Cornford
    Jun 28, 2005
  5. Replies:
    4
    Views:
    178
Loading...

Share This Page