[Proto-Scripty] Re: Prototype toggle works, Scriptaculous effect fails

2010-01-21 Thread T.J. Crowder
Hi, Caveat: I don't use script.aculo.us, but I run across it a lot because I use Prototype. :-) $(y.element().id+AddrDIV).toggle('slide'); //toggles correctly, but without effect That's because Element#toggle is a Prototype thing[1]. I don't think script.aculo.us overwrites it (but I could be

[Proto-Scripty] Re: Prototype toggle works, Scriptaculous effect fails

2010-01-21 Thread kenxle
I stand corrected! When I took the quotes out, I tested the wrong element. Effect.toggle(y.element().id+AddrDIV); works!! I thought scriptaculous overrode the prototype commands. Now I know! Thanks, Ken On Jan 21, 9:49 am, kenxle kenstcl...@gmail.com wrote: ID in quotes: Embarrassing mistake