I have an input box, <INPUT id=text1 name=text1>. I tried both Java script and VB script to assign the type attribute to hidden, thisForm.text1.type="hidden”. Both don’t work. The error says "do not support ‘thisForm.text1.type’". I use alert to display the type attribute, it does show its type, which means type is an attribute of input box. Could anyone know how to do the assignment? Thanks.