joke is on
the joke's on (one)
1. One is experiencing or will experience a negative outcome, particularly one that was intended for someone else. The phrase typically refers to a practical joke or malicious act that has backfired. Greg set up this bucket of water to fall on me, but the joke's on him now—I rigged it up over his bedroom door. He thought he could steal my job by telling the boss terrible things about me, but the joke's on him—he's getting fired for misuse of company time.
2. One seems silly or foolish. Well, the joke's on me because I spent so much time perfecting our itinerary that I forgot to put gas in my car before the trip.
See also: on
Farlex Dictionary of Idioms. © 2015 Farlex, Inc, all rights reserved.
joke is on someone
1. Someone is the butt of the joke. The joke is on Bob, so it's good that he is a good sport.
2. The joke has backfired on someone. Ha, ha! The joke's on you after all.
McGraw-Hill Dictionary of American Idioms and Phrasal Verbs. © 2002 by The McGraw-Hill Companies, Inc.