His most famous fable is "The Lady or the Tiger?" (1882), about a man sentenced to an unusual punishment for having a romance with a king's beloved daughter. Taken to the public arena, he is faced with two doors, behind one of which is a hungry tiger that will devour him. Behind the other is a beautiful lady-in-waiting, whom he will have to marry, if he finds her. While the crowd waits anxiously for his decision, he sees the princess among the spectators, who points him to the door on the right. The lover starts to open the door and....the story ends abruptly there. Did the princess save her love by pointing to the door leading to the lady-in-waiting, or did she prefer to see her lover die rather than see him marry someone else? That discussion hook has made the story a staple in English classes in American schools, especially since Stockton was careful never to hint at what he thought the ending would be (according to Hiram Collins Haydn in The Thesaurus of Book Digests, ISBN 0-517-00122-5).
Born in Philadelphia, Stockton was the son of a prominent Methodist minister who discouraged him from a writing career. He supported himself as a wood engraver until his father's death in 1860; in 1867, he moved back to Philadelphia to write for a newspaper founded by his brother. His first fairy tale, "Ting-a-ling," was published that year in The Riverside Magazine; his first book collection appeared in 1870.
In 1868, Stockton joined the staff of the new magazine Hearth and Home, working as an assistant editor under Mary Mapes Dodge, author of Hans Brinker, or the Silver Skates. He contributed not only fairy tales, but also stories and articles on a variety of subjects for adults. In 1874, Stockton was made assistant editor of Saint Nicholas Magazine, a new magazine for children, again under Mary Mapes Dodge. He worked there until 1878, when he was forced to resign the position due to failing eyesight. He continued to write, however, dictating to his wife or a professional secretary, and produced a large body of popular work for children and adults through the end of the century. He died of a cerebral hemorrhage in 1902. His collected works, 23 volumes of stories for adults and children, were published between 1899 and 1904. His books include:
* Ting-a-Ling (1870), for children
* What Might Have Been Expected, (1874), for children
* Rudder Grange (1879), a novel for adults
* The Floating Prince and Other Fairy Tales (1881), for children
* The Lady or the Tiger? (1884), a collection containing his most famous story
* The Casting Away of Mrs. Lecks and Mrs. Aleshine (1886)
* The Bee-Man of Orn and Other Fanciful Tales (1887), for children
* The Dusantes (1888)
* The Great War Syndicate (1889)
* The Rudder Grangers Abroad (1891)
* Pomona's Travels (1894)
* The Great Staircase at Landover Hall (1900)
* Kate Bonnet (1903)