getSelection (); 浏览器支持所有主要浏览器都支持focus() 方法实例实例读取选中的内容: [mycode3 type='js'] function foo() { let selObj..
確定! 回上一頁