Hi @brandyshea, thanks for you update. I implemented the changes mentioned by you in my code. I have my results along with the below exception in console.
Exception: Error during evaluation of "input"
ORIGINAL EXCEPTION: Reference error: event is not defined.
Do i have to import any package for this? Or please let me know where i am going wrong.