In a large bowl, combine the sliced squash and onion. Sprinkle with salt and mix well. Let it sit for 1 hour.