Sometimes Rocky gets carried away and very excited when I first get home from work.
I use both techniques for him.
If he jumps up, my knee goes
up, I yell the words "OFF" than I than turn my side or back to him and ignore him
till he calms down.
Yesturday I was embarrased,
He jumped up on the obedience instructor looking for cookies.