pass id of list to dom