I've been using the jquery masked input plugin to apply a date mask to text inputs. This works pretty well, but I want the displayed mask to also show the format. That is, instead of the mask being
__/__/____
I want to be able to specify the format by using a mask of, for example,
dd/mm/yyyy
or (which looks the same with the current mask but is fundamentally different)
mm/dd/yyyy
I can't see how to do this with that plugin (it only accepts one character as the mask character as far as I can see). Is it possible with the current plugin? Does anyone know of an alternative plugin (ideally using jQuery) which can do this? I haven't been able to find anything.