Updated

Lawmakers from both parties blasted Republican presidential candidate Donald Trump Wednesday after he refused to say that he would accept the results of next month's election.

During his final debate against Democratic nominee Hillary Clinton, the real estate mogul said he would "look at [the results] at the time," later adding that he would "keep you in suspense."

Trump has repeatedly warned his supporters that voter fraud could swing the election and has urged them to act as monitors at polling places.

House Minority Leader Nancy Pelosi, D-Calif., said Trump's comment demonstrated "contempt for the sanctity of our elections.

"With his ‘wait and see’ position, he disrespects the voice and votes of the American people," Pelosi added.

Sen. Lindsey Graham, R-S.C., a former rival of Trump's for the GOP nomination, said that Trump "is doing the party and country a great disservice by continuing to suggest the outcome of this election is out of his hands and 'rigged' against him.

"If he loses, it will not be because the system is 'rigged' but because he failed as a candidate," Graham added.

Senate Minority Leader Harry Reid, D-Nev., called Trump's comments "horrifying" and demanded that he "immediately reverse course and state that he will accept the results of our free and fair elections." Reid added that such a statement "must come from Trump's own lips ... statements from staff or surrogates will not suffice."

Trump campaign spokesman Jason Miller defended the statement, saying that the candidate was "putting those who might be looking to commit voter fraud ... on notice that we’re going to be watching and that we’re going to make sure that we’re gonna have honest and fair elections."

For her part, Clinton described Trump's statement as "horrifying."

"Every time Donald thinks things are not going in his direction, he claims whatever it is is rigged against him," said Clinton, who went on to cite claims Trump had made against various contests he believed to be fixed.

"He lost the Iowa caucus, he lost the Wisconsin primary, he said the Republican primary was rigged against him," she said. "He claims the court system and a federal judge is rigged against him. There was even a time when he didn't get an Emmy for his TV program ['The Apprentice'] three years in a row and he started tweeting that the Emmys were rigged."

Trump interjected at that point, "I should have gotten one."

"This is how Donald thinks," Clinton continued. "And it's funny, but it's also really troubling."

Hours before the debate, Trump's daughter Ivanka suggested that her father would honor the result of the Nov. 8 vote.

I think my father will always do the right thing," she said during an appearance at Fortune Magazine's Most Powerful Women Summit in California. "That's the type of person he is."