As the title suggests, this is how to successfully catch an elephant:
First, you need to dig a hole in the ground that is capable of holding an elephant.
Fill the hole with ashes.
Line the hole with peas.
And when your elephant comes to take a pea, you kick him in the ash hole.