Home
Sign Up
Sign In
V2EX
›
问与答
Safari Mobile不支持<input autofocus>属性
huangyang
·
Dec 11, 2013
· 2900 views
This topic created in 4714 days ago, the information mentioned may be changed or developed.
Safari Mobile不支持<input autofocus>属性,怎么破?
input
autofocus
Safari
1 replies
•
1970-01-01 08:00:00 +08:00
dorentus
Dec 11, 2013 via iPhone
1
focus 后会出键盘,你这是要吓用户啊…
用 js,domready 之后检测如果当前页面没有元素有焦点,就 focus 到你要的那个元素,*或许*可行
About
·
Help
·
Advertise
·
Blog
·
API
·
FAQ
·
Privacy
·
Solana
·
808 Online
Highest 6679
·
Select Language
创意工作者们的社区
World is powered by solitude
VERSION: 3.9.8.5 · 25ms ·
UTC 18:48
·
PVG 02:48
·
LAX 10:48
·
JFK 13:48
♥ Do have faith in what you're doing.
❯