Verify the functionality of onclick script event
Test for assertion 18.2.3-6