skip to Main Content

How do I get values using Select2 in JQuery?

I have multiple select that contains options of languages and I want to get the values selected. I tried that using by retrieve the value from the id but nothing shown in the console. $('#language').select2(); <select id="language" class="form-control" multiple="multiple" data-toggle="select2">…

VIEW QUESTION

How can I access each element in jQuery without looping, starting from the second child?

<div class="container"> <div class="row m-0 be_product_grid_image"> <divclass="col_classes"> <img src="img1.png" /> </div> <div class="row m-0 be_product_grid_image"> <divclass="col_classes"> <img src="img2.png" /> </div> <div class="row m-0 be_product_grid_image"> <divclass="col_classes"> <img src="img3.png" /> </div> <div class="row m-0 be_product_grid_image"> <divclass="col_classes"> <img src="img4.png" /> </div> <div class="row…

VIEW QUESTION
Back To Top
Search