Please remove the static event handler or export the function.

Hi, I am building a website. I want to put some filters on a dynamic page that contains properties.
I’m not succeeding and the following error appears:

“Function nome_keyPress is registered as a static event handler but is not exported from the page code. Please remove the static event handler or export the function.”

Someone can help me?

Thanks