Soak onions overnight in sugar, water and vinegar. Drain well. Add mayonnaise and celery seed to spreading consistency. Serve on crackers.