Hey Grant,
It sounds like they are using an AJAX script of sorts to take the entered information and then generate the pop-up preview using a temporary variable.
Do you have any links of some of the other sites where you have seen what you are trying to accomplish. If I get a look at it, I could probably determine what they are doing.
Regards,
Brian