I am using jQuery and put this code in my javascript:
function HideMe(itemID) { var myDiv = \'item_\' + itemID; $(myDiv).fadeOut(\"slow\"); }
I had this error because I was using a slim version of jQuery. If you download the full version you should be okay.