Query on click.