no need to feel like an ass. it's an easy distinction to miss.

On Thu, Jan 8, 2009 at 1:52 PM, wanlee (via Nabble) <
[email protected]<ml-user%[email protected]>
> wrote:

>
> well i feel like a huge ass! thanks nutron, you have saved the day...
>
> On Jan 8, 1:44 pm, nutron 
> <anut...@...<http://n2.nabble.com/user/SendEmail.jtp?type=node&node=2130391&i=0>>
> 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...@...<http://n2.nabble.com/user/SendEmail.jtp?type=node&node=2130391&i=1>
> <ml-user%2b163057-1821226...@...<http://n2.nabble.com/user/SendEmail.jtp?type=node&node=2130391&i=2>>
>
> >
> >
> >
> > > 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...@...<http://n2.nabble.com/user/SendEmail.jtp?type=node&node=2130391&i=3>
> <ml-node%2b660466-1583815...@...<http://n2.nabble.com/user/SendEmail.jtp?type=node&node=2130391&i=4>>
>
> > > 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.
>
>
> ------------------------------
>  View message @
> http://n2.nabble.com/how-to-use-clone-with-keepid-tp2130273p2130391.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.com www.mootorial.com 
Clientcide:  http://www.clientcide.com www.clientcide.com 
-- 
View this message in context: 
http://n2.nabble.com/how-to-use-clone-with-keepid-tp2130273p2130402.html
Sent from the MooTools Users mailing list archive at Nabble.com.

Reply via email to