Just thought I'd post this for others. I needed a way to dynamically create web buttons for a web based application I am creating. I created a script that takes a number of parameters to create dynamic consistent looking web buttons on the fly. Pass your text, icon, a set of 3 background images, along with a few other config options, and get buttons like these.
I try to give you the general idea.. Once you click a button, open a new panel which contains a text box and a button. By clicking that button, another new panel will be displayed with the value of previous text box.. So, it's just a matter of displaying and hiding some panels..Basically, you can just grab the value of any text boxes by using its Text() property.