HTML/js/ai-events.js
/**
 * return an option list for use in an HTML <select> element from the provided member array.
 * @param {Array} _members - array of members
 * @returns {String} - html select content
 */
return an option list for use in an HTML  element from the provided member array.
@param {Array} _members - array of members
@returns {String} - html select content
return an option list for use in an HTML element from the provided member array . @param { Array } _members - array of members @returns { String } - html select content
function _getMembers(_members)
{
    let _str = '';
    for (let each in _members)
    {(function(_idx, _arr){if (_arr[_idx].id !== 'noop@dummy')
        {_str +='<option value="'+_arr[_idx].id+'">' +_arr[_idx].companyName+'</option>';}})(each, _members);}
    _str += '</select>';
    return _str;
}
function _getMembers ( _members ) { let _str = '' ; for ( let each in _members ) { ( function ( _idx , _arr ) { if ( _arr [ _idx ] . id !== 'noop@dummy' ) { _str += '<option value="' + _arr [ _idx ] . id + '">' + _arr [ _idx ] . companyName + '</option>' ; } } ) ( each , _members ) ; } _str += '</select>' ; return _str ; }
return an option list for use in an HTML <select> element from the provided member array.
return an option list for use in an HTML <select > element from the provided member array .