문제

I have been searching around on Google and SO for awhile now and can't seem to find an answer to this seemingly easy question. I want to implement the JQuery selectable widget exactly how it is shown here: http://jqueryui.com/selectable/#default. I am using ASP.NET. What I want to happen is the user will select every item they want from the list, whether it is one or multiple items. When they are done, they will click a submit button. My question is how can I see what values are selected server side?

도움이 되었습니까?

해결책

See the serialize example.

Use the stop event to create a list of values, put that list in an hidden field control, and read the list on the server.

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top