Shared with you
Season eight was originally supposed to be the show's finale, but creator Bill Lawrence decided to add a ninth season (and not do a spin-off). As a result, the show changed significantly. Season nine became known under the title "Scrubs: Med School", J.D. was no longer the central character, a lot of new actors and actresses were cast, and the episode titles no longer started with "My...", but with "Our...". The whole show was eventually cancelled after season nine.
Dr. Cox's (John C. McGinley's) trademark of calling J.D. by girls' names is what McGinley does in real life (jokingly) to his good friend and neighbor, John Cusack.
Bill Lawrence and a few of the writers jokingly claim that Neil Flynn (The Janitor) has never actually spoken a line from any script. A fourth season script reportedly even contained "(Whatever Neil says)". While Lawrence's comment is certainly an exaggeration, it illustrates how much of his performance is spontaneous.
Every episode was scripted, but the actors had the choice to improvise their lines if they thought of something funnier.
Ted's (Sam Lloyd's) "band" is "The Blanks", a group Lloyd formed with his friends at college.
Sarah Chalke uses her lab coat from this show in How I Met Your Mother (2005). Playing a dermatologist named Dr. Stella Zinman, she uses pens to cover up her name from this show.