jQuery Multiselect Dropdown with Bootstrap selectpicker | jQuery Multiselect Dropdown Example

Поділитися
Вставка
  • Опубліковано 9 лис 2024

КОМЕНТАРІ • 21

  • @happybuttonquail9603
    @happybuttonquail9603 3 роки тому

    Thank you so much!!! This was exactly what I was looking for, simple to setup and clean looking.

  • @pomarpeggio
    @pomarpeggio Рік тому

    thank you sir

  • @octospuds9737
    @octospuds9737 Рік тому

    Thank you very much for this guide. REALY HELPFULL. One question tho.. how to i change the "nothing selected" into somthing custom?

    • @InventionTricks
      @InventionTricks  Рік тому

      Which part?

    • @octospuds9737
      @octospuds9737 Рік тому

      @@InventionTricks i was able to change it by adding 'title="*my custom sentence*". I am makeing a planner/task manager website for a school project so at the moment i'm trying to take the value of the selected days (manday tuesday, ..) and i am trying to add them as badges (Mon, Tue, Wed, ..) to tasks so that people know on what days they want to do their tasks. It's not easy to explain haha. But thank you very much for the help!

  • @micaelagordillo4475
    @micaelagordillo4475 2 роки тому

    I loved your video, thank you so much, I had a question how can I define a default selected option from a js?

  • @sarthaknikhal5540
    @sarthaknikhal5540 3 роки тому

    Hey buddy. Thanks a lot for this. But how do we get the options selected by the user in JS?
    Will document.querysel().value work?

  • @sweshahinur8188
    @sweshahinur8188 2 роки тому

    Thank you so much

  • @redodht
    @redodht 4 роки тому

    greate job, man. thanks a lot.

  • @dimatsapin898
    @dimatsapin898 3 роки тому

    It is working with bootstrap 5.0?

  • @richardgeorgepadua
    @richardgeorgepadua 3 роки тому

    How can i select one by default in multiselect

  • @rpatil1169
    @rpatil1169 4 роки тому

    Can we select all?

    • @InventionTricks
      @InventionTricks  4 роки тому

      Yes, you can select all in this select drop-down

  • @chadighanmi4684
    @chadighanmi4684 2 роки тому +1

    source code please

  • @accidentallyinked3309
    @accidentallyinked3309 3 роки тому

    How do I add this data into the database?

    • @Asktogrow
      @Asktogrow 3 роки тому +2

      use the name attribute in the select tag. Make sure you add [ ] after the name, e.g. ..
      Then receive this array in PHP via POST or GET then push into database

    • @khushigandhi4136
      @khushigandhi4136 3 роки тому +1

      @@Asktogrow Do you know how to check if it is empty means no item is selected?

    • @Asktogrow
      @Asktogrow 3 роки тому +2

      @@khushigandhi4136 Yes, you can use isset() function of php to check if its passed in the GET or POST array.
      Example:
      if (isset($_POST['days'])) {
      echo "Dates is not empty";
      } else {
      echo "Dates is empty";
      }

  • @saadeddhaher1706
    @saadeddhaher1706 3 роки тому +1

    SLOW DOWN MAN WTFF