Heat the oil in a medium-sized frying pan over medium-high heat. Add the onion and cook for 5 minutes, stirring a few times.
To assemble the Mexican hot dogs, slather the buns with some elote mayonnaise then fill them with the caramelized onions, a hot dog, some corn, and pickled jalapeños.