imports/vx/client/code/ux.js
/**
     * Return the IDs of selected rows that are children of the supplied id.
     *
     * @param {string} listId List ID.
     * @param {string} attributeName Name of data attribute with ID.
     * @return {array} Array of selected child IDs.
     */
Return the IDs of selected rows that are children of the supplied id.
@param {string} listId List ID.
@param {string} attributeName Name of data attribute with ID.
@return {array} Array of selected child IDs.
Return the IDs of selected rows that are children of the supplied id . @param { string } listId List ID . @param { string } attributeName Name of data attribute with ID . @return { array } Array of selected child IDs .
selectedIds(listId, attributeName) {
        const selectedIds = []
        $(`#${listId}`).children(".selected").each((index, child) => {
            const id = $(child).attr(attributeName)
            if (id) {
                selectedIds.push(id)
            }
        })
        return selectedIds
    }
selectedIds ( listId , attributeName ) { const selectedIds = [ ] $ ( ` ${ listId } ` ) . children ( ".selected" ) . each ( ( index , child ) => { const id = $ ( child ) . attr ( attributeName ) if ( id ) { selectedIds . push ( id ) } } ) return selectedIds }
Return the IDs of selected rows that are children of the supplied id.
Return the IDs of selected rows that are children of the supplied id .