Combine the onions, flour, cornmeal, baking powder, salt, sugar, and onion powder in a bowl. Whisk the egg and milk in another bowl. Whisk the egg mixture into the flour mixture until smooth. Cover and chill 30 minutes.
Heat 2 inches vegetable oil in a large pot over medium heat until deep-fry thermometer registers 350 degrees. Working in batches, carefully drop heaping tablespoonfuls of batter into the hot oil. Fry, stirring occasionally, until golden, aboyt 8 minutes per batch (return the pil to 350 degrees between batches). Transfer to a paper towel-lined baking sheet using a slotted spoon. Sprinkle with salt. Let rest a few minutes before serving. Enjoy!