have the laugh on

[have the laugh on] {v. phr.} To emerge as the victor.

We weretrying to fool Paul by setting him up with a blind date who wasreportedly unattractive, but he had the laugh on us when this girlturned out to be beautiful.