Verify the functionality of onfocus script event
Test for assertion 18.2.3-20