if (list.options[i].selected) {
listval=list.options[i].value +"," + listval
}
if muliple items are slected then there is no issue but if only one item is selected i get i double times
The values that you set client side you can fetch server side. using
string values = Request.Form[drpcity.UniqueID]
This will give you comma separated values Eg 1.2.5.
You will have to do this way as you are settings values client side
© COPYRIGHT 2025 ASPSnippets.com ALL RIGHTS RESERVED.