....
// Initialize search handler
searchObject = new KTSearch(element);
// Search handler
searchObject.on("kt.search.process", processs); //here it fails
....
Hi,
Please make sure that all required core JS scripts are included and you run the code on the document ready event when all dependacy core js is loaded and available:
// On document ready
KTUtil.onDOMContentLoaded(function() {
// your code goes here
});