Peel and chop onions.
Rub in the salt to it and keep aside for 5 minutes .
The salt will leave some water. Mix gramflour, seeds and red chillie powder in salted onions. If the mixture is dry, sprinkle some water but don't add too much water.
Heat vegetable oil in a wok (kadai) and put spoonfuls of batter in it.
Fry the pakoda till dark brown.
Serve hot with chutney.