Try wp_logout() function use the funtion . Your PHP is checking if $_POST['submit'] contains a value. infowindow.open(map); infoWindow.setPosition(event.latLng); You are currently placing the infowindow at the place that is clicked infoWindow.setPosition(event.latLng);. 公式)Creates an array of values by running each element in collection thru iteratee. The corresponding value of each key is the number of times the key was returned by iteratee. function groupBy(dataToGroupOn, fieldNameToGroupOn, fieldNameForGroupName, fieldNameForChildren) { var … You'll have to make the file with the definition load earlier, or the one with the fixture later. 公式)Gets the size of collection by returning its length for array-like values or the number of own enumerable string keyed properties for objects. _.groupBy : 创建一个对象,key 是 iteratee 遍历 collection(集合) 中的每个元素返回的结果。 分组值的顺序是由他们出现在 collection(集合) 中的顺序确定的。每个键对应的值负责生成 key 的元素组成的数组。iteratee 调用 1 个参数 全ての値が評価条件をクリアした場合のみtureを返し、一つでも合致していないとfalseを返す。. Even though you are using .on() with event delegation syntax, it is not working as the element to which the event is binded is created dynamically. I think you meant either one of those values, in that case var arr = ['bat', 'ball']; var selectors = arr.map(function(val) { return ':contains(' + val + ')' }); var $lis = $('ul li').filter(selectors.join()); $lis.css('color', 'red')