Intercepting client-side events on the server

Loading ...

This page shows how to intercept client-side events. Using the @EventListener annotation a server-side method can be triggered by virtually any event occuring in the Browser.

The following example submits a form asynchronously whenever a radio button is clicked. As a result, the yellow phrase at the bottom will be updated.

 Yes   No  Perhaps

You've chosen