A note on a result of Ambrosetti and Mancini