I have a code ajax that filter a wordpress query.
I want to convert this code that works by click on button, to a \'live\' filter. I tried to change submit to on but