Title: Pam Beesly
Content:  The "will they or won't they" tension between Jim and Pam is a strong story line in the early episodes of The Office, encompassing much of Seasons 1 to 3. In the finale of Season 2, "Casino Night", Jim confesses his love for Pam but she denies him. They later on kiss in the episode but Pam rejects him yet again. In the opener of Season 4, the two characters are revealed to be dating. In Season 6, Jim and Pam get married in the beginning of the season, a feat considered noteworthy by many television critics, as bringing together the two lead love interests in a television series is often thought to be a risky venture. Their child is born in the second half of the season, during another hour long episode, "The Delivery". Pam and Jim's second child is born during season 8. In season 9, their marriage becomes strained when Jim takes up a second job in Philadelphia. They ultimately decide to leave Dunder Mifflin together so Jim can pursue his dream job.
Title: Pam Beesly
Content:  In Season 4, Pam retains the assertiveness she developed in the third season. Jim and Pam confess that they have started dating after the camera crew catches them kissing. The office ultimately learns of their relationship after Toby catches Pam kissing Jim on the cheek. In "Chair Model", after teasing Pam about his impending proposal, Jim tells the documentary crew he is not kidding around about an engagement and shows them a ring he bought a week after he and Pam started dating. In the next few episodes, Jim fake-proposes to Pam multiple times. In "Goodbye, Toby", Pam discovers she's been accepted at Pratt Institute, an art and design school in Brooklyn, and in an interview, Jim 
Title: Pam Beesly
Content:  that he will propose to Pam that evening. Just as Jim is preparing to propose, however, Andy Bernard stands up and makes his own impromptu proposal to Angela. Having had his thunder stolen by Andy, Jim reluctantly puts the ring back in his jacket pocket, leaving Pam visibly disappointed as she was expecting Jim to propose that night. In the Season 5 premiere, "Weight Loss", Pam begins her three-month course at the Pratt Institute. In this episode, Jim proposes in the pouring rain at a rest stop. In "Business Trip", Pam learns that she is failing one of her classes and will have to remain in New York another three months to retake it. Although Jim 
Title: Jim Halpert
Content:  and support for Pam getting into the Pratt Institute, where she will be for the next three months. He plans to propose at Toby's going away party until Andy proposes in front of everybody to Angela, who accepts. Jim puts his ring back in his pocket and postpones the engagement. Instead, he proposes during the season-five premiere, "Weight Loss," during a rainy last-minute lunch date at an Interstate rest stop between Scranton and New York City, where Pam is attending Pratt. Jim and Pam keep in touch during her time at art school via webcam, instant messaging, and frequent phone calls. Jim eagerly awaits 
Title: Jim Halpert
Content:  outside an exam room while a doctor updates Jim and Pam on her condition. There is no audio as the camera shows Jim and Pam suddenly embracing, looking shocked and ecstatic, before Jim emerges to call Dwight and inform him they won't be returning to the game. It is heavily implied that Pam is pregnant, and the pregnancy is confirmed in the season-six premiere, "Gossip." Jim is promoted to regional co-manager, alongside Michael, in "The Meeting." His promotion causes problems in the office as the staff doesn't take him seriously and he is often in a power struggle with Michael. When Dunder Mifflin files 
Title: Jim Halpert
Content:  stack of complaints Dwight has filed against him, Jim investigates a transfer to Dunder Mifflin's branch in Stamford, Connecticut. In the season-two finale, "Casino Night," he confesses his love for Pam in the office. Pam, whose wedding to Roy was planned out and just weeks away, clearly shows her anguish but gently turns him down. Jim tearfully walks away, later kisses her in the office, and the season ends. In the season-three premiere "Gay Witch Hunt," it is revealed that he did transfer to Stamford despite the fact that Pam has called off her wedding and he clearly still harbors intense 
Title: The Job (The Office)
Content:  come back," meaning that he has been actively fighting his feelings for her. Pam tells him that she wishes that he would come back. Just as Pam is telling the cameras that she accepts that she does not think that it would work out between her and Jim, he bursts into the room and asks her out to dinner. Stunned, she agrees, and Jim says, "Alright. Then, it's a date." After Jim exits the room, Pam becomes visibly joyous and forgets what she was talking about. During a phone call, David Wallace offers the job to Ryan Howard (B. J. Novak), who accepts and immediately breaks up with Kelly Kapoor (Mindy Kaling).
Title: The Office (American TV series)
Content:  he auditioned. Wilson had originally auditioned for Michael, a performance that he described as a "terrible Ricky Gervais impersonation"; however, the casting directors liked his audition as Dwight much more and hired him. Seth Rogen, Matt Besser, Patton Oswalt, and Judah Friedlander also auditioned for the role. John Krasinski and Jenna Fischer were cast in their respective roles as Jim and Pam, the main love interests. Krasinski had attended school with B. J. Novak, and the two were best friends in school. Fischer prepared for her audition by looking as boring as possible, creating the original Pam hairstyle. In an interview 
Title: Pam Beesly
Content:  her condition. There is no audio as the camera displays Jim and Pam embrace, looking shocked and ecstatic, implying that Pam is pregnant. Pam's pregnancy is confirmed in the Season 6 premiere, in which Jim announces the pregnancy to the office staff. Jim and Pam have their wedding early in the season; the day before the wedding ceremony, Jim and Pam secretly get married at Niagara Falls. Following the wedding, a multi-episode story arc revolves around Michael hooking up with Pam's mother the night of the wedding. In response, Pam slaps Michael, and Michael and Pam's mother ultimately break up. In "The Delivery", Pam and Jim have their first child, naming their daughter Cecelia Marie Halpert.
Title: The Lover (The Office)
Content:  Jim Halpert (John Krasinski) and Pam Beesly (Jenna Fischer) return from their honeymoon in Puerto Rico and Michael Scott (Steve Carell) tells Jim that he has been dating Pam's mother, Helene (Linda Purl), after spending the night with her at their wedding in Niagara. Jim is shocked and tells Michael not to mention anything to Pam (which he reluctantly agrees to do) and to break it off with Helene immediately (which he does not agree to). However, when Jim and Pam give Michael a gift from Puerto Rico, Michael asks if Pam thinks he should date who he wants. He then lets it slip he is dating Helene, and Pam storms out of the office 

Question: when does jim propose to pam on the office?
Answer: In the Season 5 premiere.