• Jothi DevaRaj
  • NEWBIE
  • 0 Points
  • Member since 2014

  • Chatter
    Feed
  • 0
    Best Answers
  • 0
    Likes Received
  • 0
    Likes Given
  • 0
    Questions
  • 1
    Replies

Hello,

 

I am calling a java script from VF page and passing field ID value to java script as parameter.  Now, when I do a 

document.getElementById(theId).value for a multi-pick list, the java script only getting the first value selected. My thought was, it should get semi colon delimited string with all values. So, how could we get all other selected values in java script?

 

Thanks for any help.

 

 

  • January 10, 2011
  • Like
  • 0