assets/js/custom (another copy).js
/*Select dropdown with search filter used in add/edit promotion for select multiple restaurant ----------start*/
Select dropdown with search filter used in add/edit promotion for select multiple restaurant start
Select dropdown with search filter used in add / edit promotion for select multiple restaurant start
function SearchDropdownFunction(select_dropdown_id) {
  if(select_dropdown_id == 'SelectBannerRestaurantDropdown'){
    $('#'+select_dropdown_id).toggleClass("show");
  }else{
     $('#'+select_dropdown_id).addClass('show');
  }
  //document.getElementById(select_dropdown_id).classList.toggle("show");
 // $('#'+select_dropdown_id).addClass('show');
}
function SearchDropdownFunction ( select_dropdown_id ) { if ( select_dropdown_id == 'SelectBannerRestaurantDropdown' ) { $ ( '#' + select_dropdown_id ) . toggleClass ( "show" ) ; } else { $ ( '#' + select_dropdown_id ) . addClass ( 'show' ) ; } }
Select dropdown with search filter used in add/edit promotion for select multiple restaurant ----------start
Select dropdown with search filter used in add / edit promotion for select multiple restaurant ---------- start
// for add banner restaurant selection //if want to toggle use this // here we set by default its open that why using this //document.getElementById(select_dropdown_id).classList.toggle("show");//if want to toggle use this // $('#'+select_dropdown_id).addClass('show');// here we set by default its open that why using this