Multi select dropdown

  <!-- jQuery --> <script src="https://code.jquery.com/jquery-3.6.0.min.js"></script> <!-- Select2 CSS and JS --> <link href="https://cdn.jsdelivr.net/npm/select2@4.1.0-rc.0/dist/css/select2.min.css" rel="stylesheet" /> <script src="https://cdn.jsdelivr.net/npm/select2@4.1.0-rc.0/dist/js/select2.min.js"></script> <select id="mySelect" multiple="multiple" style="width: 300px;" name="select_fruits[]"> <option value="apple">Apple</option> <option value="banana">Banana</option> <option value="cherry">Cherry</option>…

0 Comments

How to create a loader

  <style> .loader { border: 16px solid #f3f3f3; border-radius: 50%; border-top: 16px solid #3498db; width: 120px; height: 120px; -webkit-animation: spin 2s linear infinite; /* Safari */ animation: spin 2s linear…

0 Comments

Multiple select dropdown

  <div class="dropdown"> <input type="text" name="select_attributes" class="tf-button dropdown-toggle" type="button" id="multiSelectDropdown" data-bs-toggle="dropdown" aria-expanded="false" placeholder="Select" /> <!-- </button> --> <ul class="dropdown-menu" aria-labelledby="multiSelectDropdown" style="width:100%; height:auto"> <?php $attributes = DB::table('attributes')->distinct()->get(['attribute_name']); foreach ($attributes as $key…

0 Comments

Complete html form part 6

HTML Forms use the <form> tag to collect user input through various interactive controls. These controls range from text fields, numeric inputs, and email fields to password fields, checkboxes, radio…

0 Comments