我正在开发一个关于phonegap(v 5.1.1)的应用程序,并使用phonegap app在android上进行本地测试.我在html中创建了一个表单,为了验证目的,我使用了必需的属性.在浏览器(firefox,chrome)中它运行正常,而在移动设备上它不会验证任何内容.并提交.为什么会这样?Android上是否支持html5.
<form id="LoginForm" action="">
<input type="email" name="email" id="inputEmail3" placeholder="Email" required>
<input type="password" name="pwd" id="inputPassword3" placeholder="Password" required>
<button type="submit">Sign in</button>
</form>Run Code Online (Sandbox Code Playgroud)
谢谢.