[jQuery] Re: clone does copy the accesskey attribute

2007-04-13 Thread xavier
Thanks, elegant solution ! X+ On Apr 13, 11:58 am, Klaus Hartl <[EMAIL PROTECTED]> wrote: > xavier schrieb: > > > Hi, > > > When I clone an element that has an accesskey, it's copied to the > > cloned element as well. > > > Then you end up with two different elements having the same accesskey. >

[jQuery] Re: clone does copy the accesskey attribute

2007-04-13 Thread Klaus Hartl
xavier schrieb: Hi, When I clone an element that has an accesskey, it's copied to the cloned element as well. Then you end up with two different elements having the same accesskey. Obvioulsy no good. Do I have to call .removeAttr('accesskey') method on each cloned node or is there a better wa