On Dec 23, 2:06 pm, Leonardo Balter <leonardo.bal...@gmail.com> wrote:
> Nah, make it sexier, use parenteses (tip from the new John Resig's ebook):
>
> ( var $ = window.jQuery;
>    $("#CollapseExpandTd").click(
>    function() {
>       $("#TreeviewTd").toggle();
>       $("#MenuBarTd").toggle();
>     });
> );
>
> $ will be a local variable and unicorns will come to see the magic running
> around.

Yeah, maybe they can read and will tell you what the syntax error is
all about.


--
Rob

Reply via email to