On Script

Tests that the data-on event can be triggered by a script.

Result:
Expected result on load: 1