I don't think you understood my point. If you have the opportunity, give notice. I am not saying don't take another job if offered, that type of situation happens. From your post you made it sound like you weren't going to tell your boss if you got the job because he wouldn't "play fair." What I'm saying is be open with your current boss. Let him know what's up so he can plan as well. He'll respect you more for it.