Wisconsin's Sojourn Shelton (8) celebrates as he breaks up a pass intended for Arizona State's Jaelen Strong in the first half of an NCAA college football game on Saturday, Sept. 14, 2013, in Phoenix. (AP Photo/Ross D. Franklin)

Wisconsin's Chris Borland (44) and Ethan Armstrong (36) are able to bring down Arizona State's Frederick Gammage short of the endzone in the first half of an NCAA college football game on Saturday, Sept. 14, 2013, in Phoenix. (AP Photo/Ross D. Franklin)

Wisconsin's Jacob Pedersen keeps his feet in as he makes a touchdown catch against Arizona State in the first half of an NCAA college football game on Saturday, Sept. 14, 2013, in Phoenix. (AP Photo/Ross D. Franklin)

Arizona State's Marion Grice, right, carries the ball as he tries to get past Wisconsin's Ethan Hemer (87) in the first half of an NCAA college football game on Saturday, Sept. 14, 2013, in Phoenix. (AP Photo/Ross D. Franklin)

Arizona State punter Dom Vizzare, front left, loses the ball as Wisconsin's Chris Borland (44), Beau Allen (96) and Brendan Kelly (97) give chase and Arizona State's Carl Bradford (52) and Davon Coleman (43) also move in during the first half of an NCAA college football game on Saturday, Sept. 14, 2013, in Phoenix. Wisconsin's Allen recovered the ball in the end zone for a touchdown. (AP Photo/Ross D. Franklin)

Wisconsin's Beau Allen (96) celebrates his touchdown against Arizona State with teammates, including Michael Caputo (7), after the Arizona State punter had a snap go past him in the first half of an NCAA college football game on Saturday, Sept. 14, 2013, in Phoenix. (AP Photo/Ross D. Franklin)

Arizona State's Taylor Kelly, left, is taken down by Wisconsin's Joe Schobert (58) and Chris Borland (44) in the first half of an NCAA college football game on Saturday, Sept. 14, 2013, in Phoenix. (AP Photo/Ross D. Franklin)

Arizona State's Chris Coyle, left, breaks a tackle against Wisconsin's Ethan Armstrong in the first half of an NCAA college football game on Saturday, Sept. 14, 2013, in Phoenix. (AP Photo/Ross D. Franklin)

But as quarterback Joel Stave tried to kneel, he ran into one of his offensive linemen and set the ball on the ground.

The ensuing confusion ended up costing the 20th-ranked Badgers the game.

Wisconsin lost precious seconds after Stave's confusing kneel-down and never got the kick off in a 32-30 loss to Arizona State on Saturday night.

"It was a shame the way it went down," Wisconsin coach Gary Andersen said.

Here's how it went:

After struggling with miscues and missed opportunities most of the game, Arizona State (2-0) went ahead 32-24 after Grice scored on a 1-yard touchdown run in the closing seconds of the third quarter and runs of 2 and 12 yards in the fourth.

Wisconsin (2-1) answered with a scoring drive of its own, setting up Melvin Gordon for his second touchdown run, a 1-yarder that pulled the Badgers within 32-30 after their 2-point conversion failed.

After an Arizona State drive stalled, Wisconsin took over at its 17-yard line with 1:36 left. The Badgers moved quickly down the field, thanks to a 51-yard completion to Jeff Duckworth, and had the ball at Arizona State's 13 with 18 seconds left.

With the ball on the right hash mark, Stave took a snap and ran left toward the center of the field to set up the potential game-winning field goal. Stave started to kneel, but ran into one of his offensive linemen and awkwardly placed the ball on the ground before quickly bouncing back up.

Players from both teams stood around for a few seconds in confusion and Arizona State's players tried to dive on the ball, but the officials pointed to the ground, appearing to say it was a dead ball.

Realizing the clock was still running, Wisconsin's players scrambled back to the line of scrimmage with about 2 seconds left. They weren't able to get a last snap off before the clock went off, sending Arizona State's players streaming off the field in joy.

Stave and the rest of Wisconsin's players and coaches tried to argue the call, but the officials trotted off the field, leaving the Badgers stunned.

"I've never seen anything like that in college football, ever," Arizona State cornerback Osahon Irabor said.

Gordon finished with 193 yards on 15 carries.

Taylor Kelly hit 29 of 51 passes — many of those on back-shoulder throws along the sideline — for 352 yards and a touchdown for the Sun Devils, who are 9-0 all-time against the Big Ten at Sun Devil Stadium.

Grice finished with 84 yards on 22 carries to help Arizona State kick off a tough stretch in the schedule with a big non-conference win.

That was all secondary to the play that had everyone still scratching their heads long after the final horn.

"We just jumped on it and I guess time ran out, so we won," Arizona State safety Alden Darby said. "I was confused back there."

The bizarre ending capped a strange night of momentum changes, missed chances and some huge performances.

Wisconsin rushed for three yards in six carries in the first quarter before finding a rhythm offensively on a scoring drive that resulted in a 2-yard touchdown pass from Stave to Jacob Pedersen early in the second.

That was about it for the Badgers' offense in the first half, though; They had 101 total yards, but still led 14-13.

Wisconsin extended the lead on the first play of the third quarter, when Gordon took an end-around handoff and raced 80 yards for a touchdown. The Badgers' sixth play of 50 or more yards this season put them up 21-13.

The Sun Devils finally got their offense going consistently late in the third quarter into the fourth, putting together three scoring drives — all capped by Grice — to go up 32-24.

But the Badgers kept fighting back.

Wisconsin followed Grice's fourth touchdown by pulling off a fake punt on a 75-yard scoring drive capped by Gordon, but trailed by 2 after Stave was hit from behind by Carl Bradford and threw an incomplete pass on the 2-point conversion.

The Badgers forced Arizona State to punt on its next drive and seemed to be in position to pull out a tough road victory with a quick-hitting drive, but instead left with a tough-to-take loss punctuated by the strange ending.

"I do want an explanation," Andersen said. "It's gut wrenching when you have to learn some things and take away opportunities from these kids."