Home
Sign Up
Sign In
V2EX
›
问与答
Safari Mobile不支持<input autofocus>属性
huangyang
·
Dec 11, 2013
· 2912 views
This topic created in 4722 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
·
4358 Online
Highest 6679
·
Select Language
创意工作者们的社区
World is powered by solitude
VERSION: 3.9.8.5 · 40ms ·
UTC 08:50
·
PVG 16:50
·
LAX 00:50
·
JFK 03:50
♥ Do have faith in what you're doing.
❯