1
0

focusElem.html 355 B

12345678910111213141516
  1. <!doctype html>
  2. <html>
  3. <head>
  4. <meta http-equiv="Content-type" content="text/html; charset=utf-8">
  5. <title>.focus() (activeElement access #13393)</title>
  6. <script src="../../jquery.js"></script>
  7. </head>
  8. <body>
  9. <a href="#" id="frame-link"></a>
  10. <script>
  11. jQuery("#frame-link").focus();
  12. window.parent.iframeCallback( true );
  13. </script>
  14. </body>
  15. </html>