Removing prototype also did not help. But finally managed to reproduce the issue in jsfiddle http://jsfiddle.net/MnYgN/3/
You will see that the clone did not copy over the attribute "art". The problem seems to be with the implementation of clone method in version 1.2dev of mootools (have added this as a resource in jsfiddle). Can you suggest what needs to change in this version of mootools? Thanks. On Wed, Jun 30, 2010 at 9:44 PM, Thomas Aylott <[email protected]>wrote: > Try removing Prototype from your page any checking again. > AFAIK MooTools and Prototype are simply not compatible. > > If that’s impossible, try swapping which library is loaded first. > > When Prototype is loaded it upgrades JavaScript to support a mixed > selection of JavaScript 1.9, ES5 & Prototype-specific stuff. > When MooTools is loaded it does the same kinds of things. But if those > methods and things exist already it isn’t going to replace them. > > So try that out and let us know. > > — Tom Aylott > SubtleGradient > MooTools > > > On Jun 30, 2010, at 11:23 AM, Srinivasan M wrote: > > > the 'clone' method works fine in IE8 in jFiddle sample I created. But in > my code, this doesn't work in IE8. > -- "The best way to make your dreams come true is to wake up." - Paul Valery
