I need the values selected from multipleselect select box as commaseperated values so that I can use these values in AJAX call to fetch the data from db table using these values.
Please help to me..
Thanks
I need the values selected from multipleselect select box as commaseperated values so that I can use these values in AJAX call to fetch the data from db table using these values.
Please help to me..
Thanks
Assuming
multiSelect
is the select DOM object (obtained bydocument.getElementById
for instance), thenresultString
will be the string you are looking for.