[ticket/10737] Using JQuery events and JSON response.

PHPBB3-10737