<html>
<head>
<title>
ok
</title>
</head>
<body>
<input text=text value="come on">
<input type=button onclick="alert(selection.createRange().text)" value='选择后点击我'>
</body>
</html>
<head>
<title>
ok
</title>
</head>
<body>
<input text=text value="come on">
<input type=button onclick="alert(selection.createRange().text)" value='选择后点击我'>
</body>
</html>
结账。