In a bowl, toss salt and onion together; let sit until onion releases some of its liquid, about 10 or 15 minutes. To the same bowl add the jalapeño, oregano, cumin, and garlic. Cut the corn off of the cob, and add it to the bowl (it does help if the corn is still warm from steaming, to absorb flavours), and toss to combine.