using $(document).on is not a function with 1.8.1/jquery.min.js

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
  1. /* add friend toggle listener */
  2. $(document).on("click",'#add_friend_toggle',function(){

  3. });
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)?