I modified his code to do the iPhone style masking. It masks everything except the last character. Demo page is unmodified. You can see it here: http://nirmalpatel.com/hacks/halfmask/demo.html
and a diff of the code:
http://nirmalpatel.com/hacks/halfmask/jquery.halfmask.js.dif...