如何在使用HTML5的浏览器中设置验证 [英] how to set validation in ie browser using html5

查看:115
本文介绍了如何在使用HTML5的浏览器中设置验证的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想在使用html5的浏览器中创建验证,并在使用css show error的正则表达式中创建验证消息.msg

i want to create validation in ie browser using html5 and regular expression using css show error msg

推荐答案

您可以为此使用pattern属性.在这里看看:
http://www.w3schools.com/html5/att_input_pattern.asp [
You can use the pattern attribute for that. Have a look here:
http://www.w3schools.com/html5/att_input_pattern.asp[^]

Good luck!


这篇关于如何在使用HTML5的浏览器中设置验证的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆