Hillary Clinton and Donald Trump. Picture: REUTERS

ST LOUIS — A defiant Donald Trump on Sunday attacked former president Bill Clinton for his treatment of women and vowed that if he won the White House he would put Hillary Clinton in jail for operating a private e-mail server while US secretary of state.

In a contentious town hall debate, Trump, the Republican presidential candidate, said he would appoint a special prosecutor to look into his Democratic rival’s e-mail use because she had endangered national security during her tenure as President Barack Obama’s chief diplomat from 2009 to 2013.

The 90-minute debate got off to a chilly start when the two candidates for the November 8 election greeted each other without the traditional handshake.

It quickly turned into an acrimonious discussion of a 2005 video that emerged on Friday in which Trump was heard using vulgar language and talking about groping women without consent.

Trump said he was embarrassed by the video but dismissed it as "locker room talk". Bill Clinton had done worse to women, he said.

"Mine are words and his are action," said Trump, who appeared before the debate with women who have accused Bill Clinton of sexual misconduct.

In the debate, Trump also accused Hillary Clinton of going on the attack against women who had alleged sexual misconduct by her husband, president from 1993 to 2001.

Hillary Clinton responded that Trump’s comments showed he was unfit for the White House.

"He has said the video doesn’t represent who he is but I think it’s clear to anyone who heard it that it represents exactly who he is," Clinton said.

E-mails

Trump also went on the attack against Clinton over her private e-mail server, saying: "You ought to be ashamed of yourself."

Clinton said, "You know it’s just awfully good that someone with the temperament of Donald Trump is not in charge of the law in this country."

Trump shot back: "Because you’d be in jail."

That remark draw a chorus of criticism painting Trump as a dictator in the making.

A nearly year-long FBI investigation into the e-mails concluded earlier this year without charges being filed, although FBI director James Comey said Clinton had been careless in her handling of sensitive material.

Clinton insisted there was "no evidence" her server had been hacked or any classified information had ended up in the wrong hands. "I take classified material very seriously," she said.

Trump said: "You said it was fine to delete 33,000 e-mails. I don’t think so."

Clinton shook her head. "Look it’s just not true."

She accused Trump of dodging a discussion of policy issues to avoid talking about his campaign because of "the way yours is exploding and Republicans are leaving you".

Republicans withdraw support

A flood of Republicans have withdrawn their support for Trump over the video. The controversy has pitched him into the biggest crisis of his 16-month-old campaign and deepened fissures between him and establishment Republicans.

The debate’s town hall-style format, with undecided voters posing about half the questions and the debate’s two moderators posing the others, allowed the candidates to move freely around the stage and address the questioners directly.

Trump complained about moderators Anderson Cooper of CNN and Martha Raddatz of ABC News, saying the debate was "three on one".

He and Clinton clashed on a series of topics throughout the debate, battling over taxes, healthcare, US policy in the Syria civil war and Clinton’s comments that half of Trump’s supporters belonged in a "basket of deplorables".

"Within hours I said I was sorry about the way I talked about that, because my problem is not with his supporters, it’s with him," Clinton said.

Trump, in a badgering tone, offered a blistering critique of Clinton’s handling of foreign policy as secretary of state, repeatedly calling it a failure.

"She talks tough, she talks really tough," Trump said. "She talks about the rebels, she doesn’t even know who the rebels are."

Taking a breath through his nose with a loud sniff, he continued, "The fact is almost everything she’s done in foreign policy has been a mistake and a disaster."

Disagreement with Pence

Trump also said he disagreed with Mike Pence, his vice-presidential running mate, who declared last week in his debate against Clinton’s number two, Tim Kaine, that the US should be prepared to use military force if needed in Syria.

"He and I haven’t spoken and I disagree," Trump said.

Just hours before the debate on Sunday Trump met with three women who had accused Bill Clinton of sexual misconduct and a fourth woman who was a victim in a rape case in which Hillary Clinton participated as a defence attorney. All four sat in the first row of the audience at the debate.

Before the debate, Trump had threatened he was going to attack Bill Clinton for his marital infidelities in response to criticism from Hillary Clinton that the Republican nominee is a misogynist who has a history of mistreating women.

Trump appeared with Paula Jones, who filed a sexual harassment suit against Bill Clinton in 1991; Juanita Broaddrick, who accused Bill Clinton of rape in 1978; and Kathleen Willey, a former White House aide who accused Bill Clinton of groping her in 1993.

None of the accusations was new. Bill Clinton was never charged in any of the cases, and he settled a sexual harassment suit with one of the women, Paula Jones, for $850,000 with no apology or admission of guilt.

Also at the event was Kathy Shelton, who was raped at the age of 12. Hillary Clinton, a practising attorney at the time, defended the rapist, who ultimately pleaded guilty to a reduced charge.

Clinton’s campaign responded to Trump’s pre-debate event by calling it a "stunt" and a "destructive race to the bottom".

Asked at the end to name one thing each admired about the other, Clinton said she respected his children for their ability and their devotion to Trump. In response, Trump called her a fighter and said he admired her for her refusal to give up.

As the moderators announced the end of the debate, the two candidates turned towards each other and shook hands.

Their next and last debate is on October 19.

Dictator in the making

Former attorney-general Eric Holder led the condemnation of Trump’s comment about putting Clinton in jail, describing him as "dangerous/unfit" and pointing out that even Richard Nixon’s top lawyer resigned when ordered to probe a political opponent.

A US president does not order the legal investigation of individuals.

Former US ambassador to Russia Michael McFaul tweeted that the comment "reminds me of autocracies I study. Embarrassed this is happening in America."

Nobel prize-winning economist Paul Krugman said: "Let’s be clear: a candidate for president promised to put his opponent in jail if he wins. Everything else is secondary.

Trump was also tarred as undemocratic by fellow Republicans.

"Winning candidates don’t threaten to put opponents in jail," said former George W Bush White House spokesman Ari Fleischer. "Presidents don’t threaten prosecution of individuals. Trump is wrong on this."

Bush speech writer David Frum said: "Who would consent to serve as attorney-general to a president who believed he could direct prosecutions of his political opponents?"

Reuters and AFP