The function can only accept ‘id’ for the argument. but I have to use ‘event’ inside the function.
It works on chrome, but not in firefox. Because we have to pass the ‘event’ variable so any functions related to ‘event’ will work.
But how do I pass that ‘event’ into the function?