Example for AJAX3D Tutorial 2:
Listening for SAI Events.

Clicks reported here.

The 3D Text elements Ajax (X3D sensor 1) and X3D (X3D sensor 2) appear.
Clicking either geometry causes the scene to change and the click to be reported by the HTML text.
Well, only the first click on a geometry causes a scene change, but you can easy figure out how to make each click count.

Refresh/Reload Example page to restart.

Next: Example 3