search.xml"; var inputArea = document.querySelector("#local-search-input"); inputArea.onclick = function () { searchFunc(path, 'local-search-input', 'local-search-result'); this.onclick = null }