Horje
select2 in modal Code Example
select2 in modal not work
//replace it with your script
<script>
    $('#mySelect2').select2({
        dropdownParent: $('#myModal')
    });
</script>
Source: select2.org
select2 bootstrap modal issue
 $('.select2').select2({
 dropdownParent: $('#modal .modal-body')
 });
enforcefocus select2 modal
// Do this before you initialize any of your modals
$.fn.modal.Constructor.prototype.enforceFocus = function() {};
Source: select2.org
select2 in modal
<div id="myModal" class="modal fade" tabindex="-1" role="dialog" aria-hidden="true">
    ...
    <select id="mySelect2">
        ...
    </select>
    ...
</div>

...

<script>
    $('#mySelect2').select2({
        dropdownParent: $('#myModal')
    });
</script>
Source: select2.org




Html

Related
image cut by div border Code Example image cut by div border Code Example
mvc pass model to partial view Code Example mvc pass model to partial view Code Example
nativescript router navigate Code Example nativescript router navigate Code Example
html "/n" not woring Code Example html "/n" not woring Code Example
disable user going back after logging out button jsf Code Example disable user going back after logging out button jsf Code Example

Type:
Code Example
Category:
Coding
Sub Category:
Code Example
Uploaded by:
Admin
Views:
7