Every ordinance and resolution passed by the board of aldermen shall be subject to veto by the mayor in the following manner: The mayor shall within three days write out his objections to such ordinance or resolution, and the board of aldermen, at the next regular meeting at which a quorum shall be present, shall order said objections entered on the minutes and vote on the question as to whether said ordinance, resolution or other action shall become adopted over said veto. Should as many of these three aldermen vote in the affirmative, said resolution and ordinance shall stand affirmed and become effective without the approval of the mayor; otherwise not. The ayes and nays shall in all cases be entered upon the minutes.