Fry onions in butter until brown and let cool. Crush matzos, soak in cold water for 2 minutes, drain and press out well. Mix onions and matzos with cheese, eggs, and salt. Place in greased pudding dish, and bake in hot oven (400 F.) until brown, about 1/2 hr.