You have a few options. Depending on if it is just the foam, using Aleene's Tacky Glue. Just make sure to clean the foam off the metal. Cost only a few bucks for the Glue. I did the Tacky Glue route first but I did a lousy job cleaning it up before applying the glue. It worked for a few weeks until my niece inserted a CD of hers into it. It really pumped out some music until it detached again, but it was the material I had left on the metal that had separated.
A forum community dedicated to Jeep Wrangler owners and enthusiasts. Come join the discussion about reviews, performance, trail riding, gear, suspension, tires, classifieds, troubleshooting, maintenance, for all JL, JT, JK, TJ, YJ, and CJ models!