On Sat, Jan 31, 2009 at 11:19 PM, thertze...@gmail.com
<thertze...@gmail.com> wrote:
>
> \$(this).css({ backgroundColor:color }); never seem to fire, as far as
> I know though, its valid jquery javascript...
>
> As for the statement above "("input#color_code").val() " is whatever
> the user selects from the color picker.
>
> If anyone is questioning my \$ in my javascript, i have to do it this
> way, because I'm running this with a Perl script, and perl uses $ to
> define and use variables.

Using the backslash within a Perl script which writes your javascript,
I can well understand. But the output--what the JS interpreter
sees--should be a bare $, not \$.

In any case, why not just use jQuery.noConflict()?

Reply via email to