Searchable Option List (jQuery plugin), get selected value in php -


i'm using https://pbauerochse.github.io/searchable-option-list/examples.html plugin in website searchable dropdown. working don't know how value of selected items in php? try use below code return last selected value in dropdown:

//echo count($_post['courses']);  // return 1 select more 5 items  if (!empty($_post['courses'])) {     foreach ($_post['courses'] $select) {         echo $coursename .= $select. " ";          // last selected value displaying     } } 

any 1 please help...


Comments

Popular posts from this blog

javascript - Confirm a form & display message if form is valid with JQuery -

Retrieving ETA (estimated time of arrival) with Google Distance Matrix API and public transit as transport mode -

ionic framework - Meteor - Error: Failed to execute 'insertBefore' on 'Node' -