コードを編集:
結果を参照してください。 »
それを自分で試してみてください - ©
w3ii.com
<textarea rows="4" cols="50">Click me (or use the tab key) to assure that I get focus. Then, click the input field to make sure that it gets focus.</textarea>
Input field:
Note:
The relatedTarget property of the FocusEvent object is not supported in IE8 and earlier.