JQuery with mask plugin not working in Chrome
Im using JQuery Mask Plugin: http://plugins.jquery.com/mask/
My script:
<script type="text/javascript" language="javascript">
$(document).ready(function () {
$(".txtday").mask('Z99', { reverse: true, translation: { 'Z': { pattern: /[0-1]/, optional: true}}, placeholder:"%" });
});
</script>
<asp:TextBox runat="server" ID="txtday0" Width="25" CssClass="txtday" />
Works fine in IE 11, but in Chrome it just displays as a normal textbox without a mask.
Im coding asp.net using Visual Studio 2010.
If anyone knows about this. Thanks in advance.
+3
source to share
No one has answered this question yet
See similar questions:
or similar: