okay i know the title sucks but i seriously had no idea how to put it any other way. anyways im guessing this is javascript so what i want to find out how to do is create something like what adsense has when your creating an ad (that part where you get to choose the background color, font color, border, etc) and it has a live preview of it on the side

is there anyway to do that?