cancel
Showing results for 
Search instead for 
Did you mean: 

Custom checkout select to select2

Custom checkout select to select2

Hi guys,

I have issue when i customize onepage checkout  .

i want to change tag <select> -> select2 .

I have tried like this :

$(document).ready(function(){

  $('.select2').select2({
      minimumInputLength: 3
   });

}) 
but not work . element of html select is not ready .

 

what should i do ?

 

Thanks everyone

 

1 REPLY 1

Re: Custom checkout select to select2

 

hello @samuelerwardi 

 

This is html Tag why do you want to change it, this is not possible to change.

 

If you want to do then you can add class on select element and then use that class in jQuery.

Manish Mittal
https://www.manishmittal.com/