I have an @Html.TextBoxFor(m => m.Expiration, new {@placeholder="MM/YY"}) that I'm trying to apply RobinHerbots jquery.inputmask (http://ift.tt/1yHWP3N) to so as the user types they would see something similar to
Starting: MM/YY
After First Character: 0M/YY
Second Character: 04/YY
and so on.
I've applied
$("#Expiration").inputmask({mask:"MM/YY",greedy:false});
However I get MM/YY in my text input without being able to click on it. Any assistance would be great.
Aucun commentaire:
Enregistrer un commentaire