Madhav Kumar wrote: I want to get the value from the map based on the key provided by the user(option).
I tried many things, But its not working out for me..
Thanks in Advance
Time is what we want the most, but what we use the worst. -- William Penn
Time is what we want the most, but what we use the worst. -- William Penn
Time is what we want the most, but what we use the worst. -- William Penn
Madhav Kumar wrote:Yep, I got the point John.
Madhav Kumar wrote:It seems <html:options> tag doesn't have value attribute. And, now I'm able to get the key(option) selected by user in javascript through onChange method using below code
I tried below code to access the map, got the value in alert {product 1=001, product 2=002}. But have no idea how to get value from it using the key(ss).
Time is what we want the most, but what we use the worst. -- William Penn
Time is what we want the most, but what we use the worst. -- William Penn
Don't get me started about those stupid light bulbs. |