Dynamic creation of textbox
document.write('<input type="text" class="decorate" value="dynamic textbox" />');
Applied style or decorate textbox with border and font color.
<style type="text/css">
.decorate
{
border:solid 1px red;
color:green;
}
</style>
Thanks,
Imdadhusen