When your dog has all four paws on the floor, give him attention and praise. If he jumps up at any point, freeze with your arms folded on your chest until he calms down. Instruct guests and all members of your household to consistently ignore jumping. If you have visitors who ignore the no-jumping rules, keep your dog on leash during the visit and gently remove him if he jumps. For anything your dog gets in life, whether it's your attention or a meal, only give the reward when all four paws are on the floor. Jumping up should end all attention and rewards, while remaining fixed on the ground garners all the pleasurable reinforcement a dog desires — treats, petting, play.
1. Do not let your dog make a big deal out of your arrival home. In fact, as the alpha leader of your family's "pack", you shouldn't even greet him or her for at least 15 minutes. If your dog jumps around and pesters you before that, squirt him with water pistol or shake a can filled with pebbles. This will startle him, and if done on a regular basis, calm him whenever you get home. He won't make such a big deal of your arrival, and thus learn that he can greet you without jumping. Follow the same technique for any visitors to your home. Do not introduce the dog to your visitors until after 15 minutes or longer.
For pups that ambush you and bite your rear end while playing outside, hide a toy or two in the backyard and ask them to find the toy. Bad weather can give puppies cabin fever when they don’t have adequate time outside to run off the energy. Mental stimulation can wear them out, too. Show your puppy a favorite toy and then roll it up inside an old towel and knot it to make a puzzle. Encourage the pup to unravel and get the toy. You can even tie the first toy-in-the-towel inside a second one for more of a challenge to relieve boredom.
When a dog jumps on a human of its own free will, it is not "greeting" the human, it is asserting its dominance over the human; it is the dog communicating that it is alpha and/or wishes to own/control the human. A subordinate would never dream of running over and jumping on the alpha dog of the pack. Space is respect and lower members of the pack respect the higher members. If your dog jumps on humans, it does not respect them. Note: when a young puppy jumps on humans it is sometimes its attempt to reach one's face. Puppies need to be taught not to jump up on humans as this behavior will manifest into other meanings as the puppy grows up into an adult dog.