Built with from Grav and Hugo
//this accepts an array of textbox ids function hideMultipleElements(arrInput) { arrInput.forEach(hideElementId); function hideElementId(item, index) { return $("#" + item ).hide(); } }