Great, tasty, family favorite recipe.
In a large bowl, stir together onion, drained spinach, ricotta, feta, jack cheese, eggs, dill, parsley, salt and black pepper. Spread half of filling in baking dish. Cover with 2 pieces of the phyllo pastry (just tuck the edges in on the sides). Brush pastry lightly with melted butter. Top with one piece of phyllo. Tuck in any overhanging edges. Spread remaining filling over phyllo. Top with 2 more pieces of phyllo and brush lightly with butter. Top with remaining phyllo sheet and brush with butter. Use a sharp knife to mark 12 squares by cutting through the top layers of pastry.