TORONTO (AP) -- Watching his Los Angeles Dodgers waste opportunity after opportunity, manager Don Mattingly was feeling nervous.
He needn't have worried. These days, the Dodgers can do no wrong, even if it's late.
Mark Ellis hit a two-run homer to highlight a five-run 10th inning as the Dodgers beat the Toronto Blue Jays 8-3 on Wednesday night to complete a three-game sweep.
''We're rolling right now. We're going to see how long this roll lasts,'' said Los Angeles reliever Brandon League, who beat his former team for the second straight game.
Yasiel Puig also went deep in the 10th for the Dodgers, who have won six straight and 23 of 28 to go from last in the NL West on June 21 to first place.
Los Angeles won its 10th straight road game, the franchise's longest streak since the Brooklyn Dodgers won their first 11 away from home in 1955.
League (5-3) pitched two innings and Kenley Jansen finished for the Dodgers, who left 13 runners on base and went 2 for 17 with runners in scoring position.
''It was one of those games where you're going 'Man, we're letting too many opportunities get away from us,''' Mattingly said. ''That game scared me from the second on, just the way it went. It's nice to come back and get that.''
The Dodgers loaded the bases in the second but scored just one. They stranded runners at first and second in the fourth and left the bases loaded in the fifth, coming up empty both times.
''Early in the year we didn't come back in any games, I don't think,'' Mark Ellis said. ''Lately we've been able to do that. That's the sign of a good team.''
Juan Perez (1-2) gave up all five runs and four hits in the 10th inning for Toronto, snapping his streak of 22 innings without an earned run since being called up from Triple-A Buffalo in late May.
The Blue Jays were swept for the second straight series, and have lost a season-high seven consecutive games and 14 of 18.
Toronto led 8-3 after six innings Tuesday before the Dodgers rallied to win 10-9, but manager John Gibbons said this one was even more cruel.
''I thought we were rock bottom last night,'' Gibbons said. ''I guess not.''
This time, the Blue Jays were up 3-2 heading into the ninth before the Dodgers rallied against closer Casey Janssen. Puig drew a leadoff walk before Janssen struck out Adrian Gonzalez and Hanley Ramirez, then got two strikes on Andre Ethier. When Ethier hit a sinking liner to center, Colby Rasmus charged the ball but couldn't catch it, then had it bounce off his glove, allowing Puig to score.
''I saw with Hanley and Gonzo that (Janssen) kind of forced them to chase some bad pitches out of the zone,'' Ethier said. ''I was just trying to get something over the plate to drive.''
The blown save was Janssen's second in 20 opportunities.
''I shouldn't have walked Puig in the first place,'' Janssen said. ''Leadoff walks always hurt and tonight it got me.''
In the 10th, Juan Uribe drew a one-out walk and Ellis homered into the second deck in left, his fifth. One out later, Puig hit his ninth homer and first since July 2.
Gonzalez walked, Ramirez doubled and Ethier followed with a two-run double.
''It felt good to win this game after having so many opportunities early,'' Ellis said.
Toronto's bullpen allowed two home runs for the second straight game. Toronto relievers allowed 18 earned runs in the three games against Los Angeles.
''It's frustrating, it's demoralizing but we've got to come back tomorrow,'' Gibbons said.
Ethier went 4 for 5 with two RBIs and Puig was 3 for 5 with a walk and two RBIs.
''He looked more like himself tonight,'' Mattingly said of Puig.
The Blue Jays broke a 2-2 tie in the eighth against Ronald Belisario when pinch runner Rajai Davis scored from second on a throwing error by Gonzalez.
Los Angeles opened the scoring on Uribe's bases-loaded sacrifice fly in the second, and Puig made it 2-0 with an RBI double in the third.
Dodgers starter Ricky Nolasco held the Blue Jays without a hit until the bottom of the fifth, when Rasmus and Maicer Izturis drew consecutive walks and Brett Lawrie drove them in with a two-out double off the wall.
Making his fourth start since being acquired from Miami on July 7, Nolasco allowed two runs and two hits in 5 2-3 innings. He matched a season-high with four walks and struck out five.
Toronto starter Esmil Rogers allowed two runs and 10 hits in seven innings, matching his longest outing of the season. The right-hander, who walked one and struck out four, has not won since June 18 against Colorado, a span of six starts.
''His back against the wall all night long,'' Gibbons said.
Before the game, the Dodgers placed outfielder Matt Kemp on the 15-day disabled list and activated left-hander Ted Lilly. Kemp's move is backdated to July 22, meaning he's eligible to return Aug. 6, but manager Don Mattingly said Kemp might need more time.
NOTES: The game was briefly halted in the fourth after home plate umpire Will Little was hit on the left arm by a pitch from Nolasco. Little remained in the game, but left the field for treatment between the top and bottom of the sixth. ... Blue Jays RHP Brandon Morrow will have more tests on his sore right forearm. Toronto GM Alex Anthopoulos said it's hard to be optimistic that Morrow will be able to return this season.