For the first time in too many months (blush), I upgraded my jQuery stuff. I\'m now on:
This has absolutely nothing to do with versions.
I had this code and got the same error:
$("#consoleBtn").click(function(){
$("#consolePanel").toggle("display", { from : { display: "block" }, to : { display: "none" } });
});
The problem was the arguments I passed to the toggle function. So I changed to:
$("#consoleBtn").click(function(){
$("#consolePanel").toggle();
});
So be mindful of the arguments passed to your function when calling jQuery-api. Hope this helps.