how to replace 'dollar' sign with another character used in jquery?
javascript, jquery
Solution
You cannot change `$` to `*` because `*` is not a valid identifier. But you can change it to a valid one:
(function (foobar) {
foobar("#whatever").css(....)
})(jQuery);
Given that JavaScript identifiers are unicode, you can try fancy things like for example:
(function (Ω) {
Ω("#whatever").css(....)
})(jQuery);
Problem
How will I change the dollar sign (alias for 'jquery') used in jquery with another character. For example ``` $("#id").css("height","210px"); ``` I want to change this to ``` *("#id").css("height","210px"); ```