DS7/DSWebMobile/Scripts/jquery.popedom.js

7 lines
202 B
JavaScript

var hasPopedom = function (popedom, collection) {
var result = false;
$.each(collection, function (i, item) {
if (item.NAME == popedom) { result = true; }
});
return result;
}