Add the hamburger patties to the air fryer basket, set the temperature to 400 degrees F, air fryer setting, and cook for 9 to 12 minutes, flipping halfway during the cooking process.
While the hamburgers are cooking, add the butter to a small skillet, and add the diced onions and jalapenos peppers. Saute until the onions are translucent.
Cut your hamburger patties into small pieces and add the chees on top. Return to the air fryer, and cook for a couple of minutes, at 300 degrees F, air fryer setting, until the cheese is melted. Toss in the jalapenos and onions, as well.
Spread mayonnaise on both sides of the bread, add your meat filling, add lettuce, tomatoes, and ketchup, as desired.
Plate, serve, and enjoy!