The story
Before the potato reached Eastern Europe, the Ashkenazi latke was made of cheese. Cheese pancakes were eaten on Hanukkah from at least the Middle Ages, probably from soft curd cheese and fried in butter or poppyseed oil, and they stayed the common latke until the nineteenth century.
Many families still eat dairy on Hanukkah in memory of Judith. In her story, told in a Jewish book written in the Second Temple period but not included in the Tanakh, she fed the enemy general Holofernes salty cheese to make him thirsty, then wine until he slept, and saved her town. Cheese latkes keep both customs at once: dairy, and fried in oil.