This is a very hard situation because the dog may not listen to you or other people because you're not it's owner.

I would talk to the owners about it nicely. Explain the situation and how the dogs been jumping and it's something that needs to be corrected.