Hey Green, I am not an expert in JS coding, but maybe this helps: I removed the "prototype" from Event.prototype.key and now IE 8 seems to work properly. With one exception: it is not possible to initialize the copied form fields - Firefox still works fine. Maybe you can have another look into the code with this input.
Cheers, Stefan On 19 Mrz., 00:36, green <greenlaw...@gmail.com> wrote: > 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, > GreenOn 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.