[1] Ting was elected to Parliament of Malaysia in the 1987 Gopeng by-election following the resignation of incumbent, Tan Koon Swan, who was serving a prison term in Singapore for the Pan-El case.
In 1990 and 1995 general elections he won the Gopeng parliamentary seat under the BN – MCA ticket.
He defeated Syed Ahmad Said Abas (MDP) and Abdul Rahman Said Alli (DAP).
In 2004 general election, he defeated Dr Lee Boon Chye of PKR with a majority of 14,260 votes.
[4] The Chinese in Peninsular Malaysia: a study of race relations in a plural society, 1976[11]