In a blender, combine the vinegar, sugar, onion, mustard and salt. Put on bender cover and blend until mixed. While blender is on, gradually add oil in a steady stream. Many blenders have a small opening so that you can add the oil through the cover. If your blender does not have an opening, carefully remove the cover and blend the ingredients on a low speed while adding the oil.