dynamically select multiple options in a select box

Posted by Shah on Stack Overflow See other posts from Stack Overflow or by Shah
Published on 2010-04-26T17:35:29Z Indexed on 2010/04/26 17:53 UTC
Read the original article Hit count: 283

Filed under:
|

have an array of values [1,2,4] representing the values of a multi-select box, how do i set them as selected using either jquery or plain javascript?

thanks for your help.

© Stack Overflow or respective owner

Related posts about JavaScript

Related posts about jQuery