If you plan on fighting the elephants in the field (rather than a city) take some skirmisher cavalry. They can get close to the elephants and lob javelins before the elephants reach your main line.