Melt the butter in a large cast-iron skillet placed on the hottest part of a grill. Add the onion and jalapeño, and cook until soft. Stir in the eggs, and season to taste with salt and pepper.