How could I get jQuery Intellisense working on cached Elements. If I do the following, I get no Intellisense:
var elem = $j('#elemID');
elem.height(100);
If I change the code above to the followung, than I have intellisense, but is that the right way? Am I not recreating a jQuery objectfrom a jQuery object?
var $(elem) = $j('#elemID');
$(elem).height(100);
Well it appears that I got Intellisense now, the trick is to start the variable names for jQuery-Object with $.
Doing this gives me intellisense and a better distinction between cached jQuery-objects and normal objects/variables: $elem is a jQuery-object and height just a normal variable / number.