79634138

Date: 2025-05-22 16:12:12
Score: 2
Natty:
Report link

Just saw your question and referred your code. You are almost at the right track. The reason why you are getting a Null value or object is that you are invoking the 'infosearch()' function immediately (this is because of the paranthesis). So, in reality, instead of waiting for the enter key, it immediately runs the function, which was causing you the trouble. Just remove the paranthesis so it will be converted into a callback function, and you are good to go!

Reasons:
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Anbuchezhiyan A.M