This seems to be a common problem with Elantras. Mine did the same thing 3 years ago. I tried about 6 different adhesives, each one failed within a 3 month time. I finally gave up as the CORRECT adhesive is VERY expensive.
Recently I brought my car to the dealer to have the rear swaybar bushings replaced and I had them fix the window.....this "fix" required an entire new window as the "clips" come glued to the window from the factory.
They charged my $75 for the window and $90 for labor. I told them it would take me only 15 minutes if that to replace the window so I didn't want them charging me more than 1 hour.
You could probubly pic up a window from a Junk yard for much less and save money
Recently I brought my car to the dealer to have the rear swaybar bushings replaced and I had them fix the window.....this "fix" required an entire new window as the "clips" come glued to the window from the factory.
They charged my $75 for the window and $90 for labor. I told them it would take me only 15 minutes if that to replace the window so I didn't want them charging me more than 1 hour.
You could probubly pic up a window from a Junk yard for much less and save money