Remove submit button and automatically submit query