well i feel like a huge ass! thanks nutron, you have saved the day...
On Jan 8, 1:44 pm, nutron <[email protected]> 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) < > [email protected]<ml-user%[email protected]> > > > > > 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 > > [email protected]<ml-node%[email protected]> > > 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.
