@@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!
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 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"; }
Thank you so much!!! This was exactly what I was looking for, simple to setup and clean looking.
thank you sir
Thank you very much for this guide. REALY HELPFULL. One question tho.. how to i change the "nothing selected" into somthing custom?
Which part?
@@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!
I loved your video, thank you so much, I had a question how can I define a default selected option from a js?
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?
Thank you so much
You're most welcome
greate job, man. thanks a lot.
You're welcome!
It is working with bootstrap 5.0?
How can i select one by default in multiselect
Can we select all?
Yes, you can select all in this select drop-down
source code please
How do I add this data into the database?
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
@@Asktogrow Do you know how to check if it is empty means no item is selected?
@@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";
}
SLOW DOWN MAN WTFF