well i feel like a huge ass! thanks nutron, you have saved the day...
On Jan 8, 1:44 pm, nutron <anut...@gmail.com> wrote: > The documentation uses the convention that optional arguments for methods > are in brackets, thus: > obj.foo(arg1[, arg2]) > > means that arg2 is optional, so > > element.clone([contents, keepid]) > > means that both arguments are optional. In use however, you do not include > the brackets: > > element.clone(true, true) > > On Thu, Jan 8, 2009 at 1:31 PM, wanlee (via Nabble) < > ml-user+163057-1821226...@n2.nabble.com<ml-user%2b163057-1821226...@n2.nabble.com> > > > > > wrote: > > > this doesn't work: > > betGraphClone = $('betGraph').clone([true, true]) > > > can anyone show me the correct way to clone an element with all it's > > IDs in place? > > > ------------------------------ > > View message @ > >http://n2.nabble.com/how-to-use-clone-with-keepid-tp2130273p2130273.html > > To start a new topic under MooTools Users, email > > ml-node+660466-1583815...@n2.nabble.com<ml-node%2b660466-1583815...@n2.nabble.com> > > To unsubscribe from MooTools Users, click here< (link removed) >. > > ----- > The MooTools Tutorial: http://www.mootorial.comwww.mootorial.com > Clientcide: http://www.clientcide.comwww.clientcide.com > -- > View this message in > context:http://n2.nabble.com/how-to-use-clone-with-keepid-tp2130273p2130345.html > Sent from the MooTools Users mailing list archive at Nabble.com.