This is a universal answer about cat's behavior and how to change it.
Some times the changes are small and easy to do. At other times it is harder. But if your cat does what you want her to do, pet her and may be offer some treats. It is all about teaching what you want or don't want her to do.
It is important to change unwanted behavior fast. If your cat finds that this
unwanted behavior will get your attention then she will continue to do this.
You need to take the cat and put her on the floor and then IGNORE HER EVERY TIME
SHE DOES THIS.
Also your friends and family have to help you in this. Otherwise this plan will take longer time to succeed, or worse, not succeed at all.
When your cat finds out that she cannot get your attention by this kind of action she will stop doing it. She will change her methods to get your attention. With time she will understand what you want and don't want.
How long will it take to change the cat's behavior depends on several factors like for how long this has been going on and the age of your cat and how patient she is.
Your friends and family do have to help you and they might have to change their behavior too.
Some cats are really stubborn but all you need is to be more stubborn than your cat and you will succeed.
This answer is valid for several types of cat behavior (biting,jumping on table,and a lot of other things).