javascript - How to Apply input Mask on a Textbox - Stack Overflow

I have a textbox on which I apply input masks.I have downloaded JS library from here link to js Library

I have a textbox on which I apply input masks.

I have downloaded JS library from here link to js Library with bit documentation

What I need to do is that I need format like this

any length integer/any length characters/CONSTANT lets say = hello/
current year lets   say = 2012


that is 6666/Edward/thanks SO/2012

if var lenght is not possible than atleast one integer or one character and atmost 15 integer or character

I have a textbox on which I apply input masks.

I have downloaded JS library from here link to js Library with bit documentation

What I need to do is that I need format like this

any length integer/any length characters/CONSTANT lets say = hello/
current year lets   say = 2012


that is 6666/Edward/thanks SO/2012

if var lenght is not possible than atleast one integer or one character and atmost 15 integer or character

Share Improve this question edited Jun 19, 2012 at 16:12 Edward Maya asked Jun 19, 2012 at 15:36 Edward MayaEdward Maya 4392 gold badges10 silver badges25 bronze badges
Add a ment  | 

1 Answer 1

Reset to default 3

Maybe this - http://jsfiddle/ZYH9f/

It's one mandatory integer/character and 5 optional others:

$("input").mask("*?*****/*?*****/*?*****/9999");

发布者:admin,转转请注明出处:http://www.yc00.com/questions/1745220653a4617233.html

相关推荐

  • javascript - How to Apply input Mask on a Textbox - Stack Overflow

    I have a textbox on which I apply input masks.I have downloaded JS library from here link to js Library

    2小时前
    40

发表回复

评论列表(0条)

  • 暂无评论

联系我们

400-800-8888

在线咨询: QQ交谈

邮件:admin@example.com

工作时间:周一至周五,9:30-18:30,节假日休息

关注微信