$(window) returns NULL when used inside .mousemove function
I would really appreciate some help on this issue:
I am using the following code
- console.log( $(window) );
- $("td.tooltip").mousemove(function(e){
- console.log( $(window) );
- });
I encourage you to try this yourself. The window object returns NULL inside of the mousemove function. How can I get the dimensions of the window inside this function!?
Thanks in advance