在输入中使用模式时如何更改警告文本? [英] How to change warning text when pattern is used in input?
本文介绍了在输入中使用模式时如何更改警告文本?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
当我在这样的输入中使用模式时:
When I use pattern in input like this:
<input type="text" value="" pattern="(\d|(\d,\d{0,2}))">
我收到带有文本的弹出警告.如何轻松更改此文本?
I receive popup warning with text. How can I easily change this text?
推荐答案
<input type="text" value="" pattern="(\d|(\d,\d{0,2}))" title="YOUR_WARNING_TEXT" >
这篇关于在输入中使用模式时如何更改警告文本?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文