using $(document).on is not a function with 1.8.1/jquery.min.js
When I use the code below on ver 1.7.2 it doesn't have any problems
- /* add friend toggle listener */
- $(document).on("click",'#add_friend_toggle',function(){
- });
but when i use ver 1.8.1, the firefox/chrome console says this:
What does this mean then? Am I not suppose to use on with $(documentt)?