Interestingly i had both those situations while i was working, and did all of those (Stayed in positions when offered more, took new positions when offered more and applied whilst still at a job).
What i wouldn't have done though, was to tell my staff that i was looking/leaving and told some of...