Home
Sign Up
Sign In
• 请不要在回答技术问题时复制粘贴 AI 生成的内容
V2EX
›
程序员
求个 html 写法
fengchen0vr
·
Sep 20, 2022
· 1666 views
This topic created in 1409 days ago, the information mentioned may be changed or developed.
浏览器显示成如下,“复制”是按钮且不换行,只复制 1.1.1.1
ip 地址是 1.1.1.1 复制
1.1.1.1
复制
写法
HTML
2 replies
1
codehz
Sep 20, 2022
1
ip 地址是<span id="x">1.1.1.1</span><button onclick="navigator.clipboard.writeText(x.innerText)">复制</button>
2
fengchen0vr
OP
Sep 20, 2022
@
codehz
行家,感谢
About
·
Help
·
Advertise
·
Blog
·
API
·
FAQ
·
Solana
·
4657 Online
Highest 6679
·
Select Language
创意工作者们的社区
World is powered by solitude
VERSION: 8062405b · 33ms ·
UTC 01:07
·
PVG 09:07
·
LAX 18:07
·
JFK 21:07
♥ Do have faith in what you're doing.
❯