When all else failed Tuesday, the A’s hit.

In the end that won out over the poor starting pitching, the head-slapping baserunning blunders and the shaky ninth-inning relief. The A’s walked away with a wild 10-9 victory over the Los Angeles Angels in 11 innings because they kept smacking the ball around against seven Angels pitchers.

Oakland racked up 16 hits on a night it fell behind and fought back to take the lead only to give it up again – twice.

They finally won on Josh Donaldson’s double down the left-field line in the top of the 11th that scored Jed Lowrie to snap a 9-9 tie. And to cap this wackiest of evenings, it was, of all people, Jim Johnson who delivered two scoreless innings to nail down the victory and save manager Bob Melvin further bullpen depletion.

It wasn’t easy, as Johnson put the winning runs on second and third when he retired Howie Kendrick on a groundout to short to finally end the 4-hour, 12-minute affair.

The end result was the A’s eighth victory in their past nine games, and they’re now 7-1 on a nine-game road trip that ends tomorrow night with one last game at Angel Stadium.

That contest has a lot to live up to after this one.

Starting pitching report

Dan Straily found trouble early and he never established any rhythm, lasting just 3 2/3 innings before A’s manager Bob Melvin came with the hook. Kole Calhoun led off the bottom of the first with a single and Mike Trout drove him in with a double down the left-field line.

The right-hander did well to get a shutdown inning after his teammates gave him a 3-2 lead in the top of the third. But things came undone in the bottom of the fourth. Chris Iannetta drove a two-run double to the wall in left. Yoenis Cespedes initially was given an error for dropping the ball off the carom, but it was later changed and Iannetta was rightfully credited with two RBI. After retiring Erick Aybar on a groundout, Straily caught too much of the plate with a 1-2 pitch and Calhoun crushed a two-run homer to right that made it 6-3 Angels.

Straily left having struck out three, snapping a streak of three straight outings in which A’s starters had struck out nine or more. Remarkably, that was the first time since at least 1914 that three A’s starters had nine or more strikeouts in a row.