jQuery

Quick and DRY Modals with jQuery

Posted by Jeremy Harris on Mon, Aug 23, 2010 @ 6:40pm

Modals can be a nice way to present data with minimal page refreshes and in a way that sits well with your UI. In my case, I've always used them to load data via Ajax using jQuery. Something that's always bothered me with previous methods was that you would have to change something in your view, or worse, controller, depending on whether or not it was loaded using Ajax. The biggest thing that c...