Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

JQuery UI Multiselect how to get selected options values

wasted my day while searching how to get selected options values in JQuery UI widget by Michael Aufreiter. Here's the link to his demo site and github: http://quasipartikel.at/multiselect/

As a result I just need value fields of selected options without POST/GET sendings to PHP script. I tried many methods and resultless. Need your help and ideas

*Found many topics about jquery ui multiselect but useless because of Aufreiter :s *

like image 628
966p Avatar asked Jan 05 '12 21:01

966p


1 Answers

That should work. Tested with Chrome console

$("#countries").val();
like image 178
Vertigo Avatar answered Nov 03 '22 12:11

Vertigo