简体   繁体   中英

Mask for input text

How to make a mask, type time 11:24, that would work in IE7, IE8, IE9 crome.
I use this library here, but it only works in the chrome https://raw.github.com/fabiomcosta/jquery-meiomask/08b92c411a60ace9131de697179fda433178b8d9/jquery.meio.mask.js .
Tell the library ready for work in all browsers

I am not sure about IE9 but in the ajax control toolkit there's maskedtextbox like the one in visual studio toolbox. it works in IE 8, firefox and chrome.

see demo: http://www.asp.net/ajaxLibrary/AjaxControlToolkitSampleSite/MaskedEdit/MaskedEdit.aspx

http://www.meiocodigo.com/projects/meiomask/

i think this works fine on all browsers

Edit: meioMask compatibility

meioMask has been tested with jQuery 1.7.2 on all major browsers:

Firefox2, Firefox3, Firefox3.5 (Win, Mac, Linux);
IE6, IE7, IE8 (Win);
Chrome (Win, Mac, Linux);
Safari3.2, Safari4 (Win, Mac, iPhone, yes, it supports iPhone!);
Opera (Win, Mac, Linux).

this note was on their own site

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM