My lil guy loves to jump on me when I come home and I tried the turning my back on him and ignoring and it did not work. The trainer at the SPCA advised me to continue to ignore him and walk into him and continue on my way. With in a week or so he stopped jumping to greet me.
I also do the same with the sit and wait command which has helped when greeting others. All about repetition. Lots and lots of repetiton and treats.
Good luck = )