The onion rings are first dusted in cornstarch which will help the batter stick to the onion rings. Also be sure that your oil is the correct temperature so the batter doesn’t slide off the onions in the oil. My preferred frying temperature is 365F-370F.