A boy has trapped himself in an elevator in China after urinating on its buttons in a prank-gone-wrong.

CCTV footage of the incident shows the boy stepping into the elevator and then almost immediately urinating all over the buttons in Chongqing, southwest China.

He then tries to get out of the elevator but finds that the doors won't open properly, leaving him frantically pressing random buttons.