Hi Stefan, Thanks for reporting this problem. I have a quick fix enable you to call new pMask() multiple times without impact fields that is already initialized. I have tested it on firefox (3.6) and Chrome (4.0). Running this script on IE8 failed due to Error: "Event.prototype is null or not an object". I will keep watching this IE bug later.
Thx, Green On Wed, Mar 17, 2010 at 10:37 PM, lars_stecken <ste...@farsite.de> wrote: > Hey good work with the script. Ran into a little problem: I am copying > form elements which have a pmask applied to. Unfortunately the new > elements do not get recognized by pMask and calling new pMask() again > will result in malfunction of the already initialized fields while the > new fields work fine. Is there a way to initialize only particular > fields or to re-initialize the complete document without affecting the > "old" fields? > > Thanks for your help. > Cheers, Stefan > > On 6 Mrz., 14:06, green <greenlaw...@gmail.com> wrote: > > Hi, > > > > I have port Fabio Zendhi Nagao's > > iMask<http://zendold.lojcomm.com.br/imask/>tool to prototype with > > changes (or, you can say, enhancements). You can > > download it athttp://github.com/greenlaw110/pMask/ > > > > Thx, > > Green > > -- > You received this message because you are subscribed to the Google Groups > "Prototype & script.aculo.us" group. > To post to this group, send email to > prototype-scriptacul...@googlegroups.com. > To unsubscribe from this group, send email to > prototype-scriptaculous+unsubscr...@googlegroups.com<prototype-scriptaculous%2bunsubscr...@googlegroups.com> > . > For more options, visit this group at > http://groups.google.com/group/prototype-scriptaculous?hl=en. > > -- You received this message because you are subscribed to the Google Groups "Prototype & script.aculo.us" group. To post to this group, send email to prototype-scriptacul...@googlegroups.com. To unsubscribe from this group, send email to prototype-scriptaculous+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/prototype-scriptaculous?hl=en.