Heat oil in a medium frypan on medium heat, enough to cover the bottom of the pan. Use tongs to dollop small amounts of onions into the pan, in patty-like shapes. Cook for about 2 minutes each side, until golden. Transfer to a paper towel and season with salt. Repeat with remaining batter, adding more oil as needed.