Add a preview to a WordPress Control Panel
If you look at Mystique theme (a great example of option panel with preview BTW) you can see that the main idea is to lavrage the form fields OnChange or change() events to load the theme’s preview with Jquery and a bit of ajax. So you have one function to load by ajax the preview … Read more