[jQuery] Re: Widgetbox variables, problems with $()

2007-05-30 Thread Brandon Aaron
The $ is just an alias for jQuery. That means you can use jQuery() instead of $(). Or you could even create a different alias like this. var $j = jQuery; Then you can use $j() instead of $(). And just to be safe you might want to call jQuery.noConflict() to restore the $ back to its original

[jQuery] Re: Widgetbox variables, problems with $()

2007-05-30 Thread MrNase
var $j = jQuery; wow thank you! ---dominik

[jQuery] Re: Widgetbox variables, problems with $()

2007-05-30 Thread MrNase
As I see now, the problem still exists. jQuery doesn't know what to do with - var userlanguage = ${config.userlanguage}; I would need to tell jQuery that ${config.userlanguage} has nothing to do with jQuery. :-( ---dominik On 30 Mai, 23:08, MrNase [EMAIL PROTECTED] wrote: var $j =

[jQuery] Re: Widgetbox variables, problems with $()

2007-05-30 Thread Brandon Aaron
That is what the jQuery.noConflict() is for. :) Just do this: var $j = jQuery.noConflict(); -- Brandon Aaron On 5/30/07, MrNase [EMAIL PROTECTED] wrote: As I see now, the problem still exists. jQuery doesn't know what to do with - var userlanguage = ${config.userlanguage}; I would need