The former Manchester United, Real Madrid, LA Galaxy and Paris Saint-Germain star was due to meet the university's football team, but his plans were curtailed by the drama.
Beckham was due to meet members of the Shanghai Tongji University football team, with a mass of fans gathering at the stadium to catch a glimpse of the star. The crowd chaos was such that Beckham never got the opportunity to meet the team, though, and he later addressed the stampede and injuries on his Facebook page.
"I had an incredible response from everyone at Shanghai Tongji University today," read the post. "Sorry I couldn't get out on the pitch to see the teams but it was impossible to get through the massive crowds.
"I heard there were a few injuries, I hope the fans are ok and I wish them a speedy recovery."