Looking to mask the input field, along the lines of what this jQuery plugin does:
http://digitalbush.com/projects/masked-input-plugin/
I tried converting it to Zepto by changing:
$.fn.extend({
to
$.extend({
and
})(jQuery);
to
})(Zepto);
Now I'm getting: Object # has no method 'mask' and not sure where to go from there.
Is there any other input masking plugin I can use with Zepto or something I'm missing on converting this to Zepto?
For jquery the to make a plugin goes as follows:
$.fn.extend({
Zepto needs to be
$.extend($.fn,{
Works perfect now.