79190017

Date: 2024-11-14 18:30:55
Score: 2.5
Natty:
Report link

When you call your function searchHandler() . Before calling just check a if() condition . create a global variable example = searchterm. if(searchterm) { then only call the function searchHandler() } OR if you want to do it inside searchHandler() function then just put all your code inside if condition. if(keyword) { then rest of the logic }. I hope you understand. Put a upvote if you solve it.

Reasons:
  • Blacklisted phrase (0.5): upvote
  • No code block (0.5):
  • Single line (0.5):
  • Starts with a question (0.5): When you
  • Low reputation (0.5):
Posted by: Arijit Bag