One of the big truisms of working in technology is: You can't know everything by heart.
Another is: Someone, somewhere, has already faced this problem, and solved it.
Hence, one of the most useful sites on the internet for us techie types: Stack Overflow.
I love it.
On Monday, I was looking into populating a modal dialog box with dynamic content, gleaned from a service, called by Ajax. I wanted to see some other ways it had been done, so I hit the site.
In short order, I had some great guidance, including some dissenting opinions about the best ways to do it.
I saw three different ways, rejected two, settled on one.