Answers for "jquery: finding all the elements containing the text present in an array"

0

jquery: finding all the elements containing the text present in an array

arr.forEach(function (value, index) {
                    //alert(value);
                    var foundElem = $('#elementSelector').find('option:contains("' + value + '")').val();                
                    foundElem.doSomething();
                });
Posted by: Guest on September-17-2021

Code answers related to "jquery: finding all the elements containing the text present in an array"

Code answers related to "Javascript"

Browse Popular Code Answers by Language