草庐IT

javascript - 按 CSS 样式按钮会显示不需要的键盘 UIWebView

我在UIWebView中加载了一个本地html资源。一个按钮采用CSS样式,按下时会显示不需要的键盘并允许在按钮上键入在我的本地html文件中.button{border:0pxsolid#ed1717;background:#e01414;background:-webkit-gradient(linear,lefttop,leftbottom,from(#e01414),to(#e01414));background:-webkit-linear-gradient(top,#e01414,#e01414);background:-moz-linear-gradient(top,#e