United Kingdom, June 8 -- Zach Braff quit his job as soon as he was cast in Scrubs.

The 50-year-old actor shot to fame playing Dr. John 'J.D.' Dorian in the medical sitcom - which ran from 2001 to 2010 - and although he was initially only hired for the pilot episode, he was happy to quit his steady work as a waiter because after living "frugally" for so long, he knew he could survive on just that one paycheque.

Speaking at the ATX TV Festival, People magazine reports he said: "I got Scrubs after six auditions. I was driving home and I put the Motorola StarTAC on the passenger seat, my phone rang and it was Bill [Lawrence, creator] and he said 'you got it' and I was so thrilled and my life was going to change.

"Even if it was just the p...