In a medium bowl, whisk together the flour, sugar, cornmeal, baking powder, and milk.
Add onions and salt and pepper and stir to combine.
Meanwhile, heat about ½-inch of oil in a skillet over medium-high heat.
Once oil reaches 375°F, drop batter by the tablespoon into the hot oil, spreading the fritter out slightly.
Brown on both sides until crisp.
Remove to a paper towel to drain.
Serve hot and enjoy!