By ESPNSTAR.com staff
The Rossoneri were facing the prospect of a seventh defeat of the season after goals by Gokhan Inler and Lorenzo Insigne saw the Neapolitans go into half-time holding a one-goal lead.
However, a brace by El Shaarawy, each goal coming toward the end of the two halves, ensured Milan did not embarrass themselves in front of president Silvio Berlusconi who had earlier paid a visit to the Milanello training complex.
Manager Massimiliano Allegri was a little annoyed with the individual mistakes committed by the likes of Kevin Constant and Christian Abbiati but El Shaarawy was happy with the fightback.
"My goals were important but more so was the reaction from the team," he was quoted as saying by acmilan.com.
"I'm happy about the goals but what counts is pulling ourselves back up. We didn't deserve to be down because we created a lot but we're happy with the performance and for the way we took to the pitch."
Bojan added to the sentiments of his team-mate as he said, "The attitude of the team was good and 2 nil down is no easy thing."
"I'm happy with the result and I think we deserved to win."
Allegri felt that his side made their lives a lot more difficult than necessary by allowing Napoli to score easy goals. Insigne scored through the help of a wicked deflection off Francesco Acerbi which went through the legs of goalkeeper Abbiati.
"I think there were a few individual mistakes which shouldn't happen but sometimes does," the Milan coach confessed.
"We gave the second goal away. The ball went through Acerbi's legs and then Abbiati's as well.
"The first goal was a mistake by Christian and he admitted it.
"The important thing is not to make mistakes as a team, after that individual mistakes are acceptable."
Despite their inability to earn a win on the night, Allegri was content with the results and sees scope for improvement over the season. He also leapt to the defence of 17-year-old M'baye Niang who had a couple of good chances in the game, ending a turbulent week that had earlier seen him make the headlines for all the wrong reasons.
"Niang could have done well in the last 12 minutes of the game with the characteristics that he has but he's not yet 18 and you have to keep an eye on him because he's young.
"The last two chances were important, Niang is 17 and he wasn't lucid enough not to be selfish in those situations.
"It was a good intense game in front of 60,000 fans. I can't criticize the players at all, they earned a precious point.
"The team put in a very good performance here this evening but we've lost four games at home and we've paid a high price.
"We only have 15 points and so we haven't achieved anything but if we continue with these performances we can grow."
Milan face Belgian side Anderlecht in the Champions League on Wednesday with their qualification to the knockout rounds already assured.