2 <body onload=
"document.getElementById('sp').focus(); document.getElementById('sp').blur(); document.getElementById('sp2').focus();">
3 This test uses the new text field to test focus() and blur() and to make sure that onFocus and onBlur events fire correctly.
5 <input type=
"text" id=
"sp" value=
"My Text Field 1" style=
"-khtml-appearance: textfield;" onfocus=
"document.getElementById('result').innerHTML+='<br>Test Passed. Text field 1\'s onFocus event has fired.'" onblur=
"document.getElementById('result').innerHTML+='<br>Test Passed. Text field 1\'s onBlur event has fired.'"></input>
6 <input type=
"text" id=
"sp2" value=
"My Text Field 2" style=
"-khtml-appearance: textfield;" onfocus=
"document.getElementById('result').innerHTML+='<br>Test Passed. Text field 2\'s onFocus event has fired.'" onblur=
"document.getElementById('result').innerHTML+='<br>Test Passed. Text field 2\'s onBlur event has fired.'"></input>
8 <div id=
"result"></div>