At my current position i am earning about 50% of what I am worth on the job market. I have repeatedly approached my boss about my salary increase, and was denied and set unrealistic conditions for a salary raise.
Now I have started to actively study for interviews. If/when I have an offer that suits me and the company has sent a contract for me to sign, then I want to contact my boss and tell him so, and ask if the company can pay as much as the new contract. If they disagree, then I'll sign the contract and in the next email send a 30 day termination notice to my boss.
Is this plan OK?