Friday, November 19, 2010

How to inserrt the to uppercase command in HTML forms?

How to insert the to uppercase command in HTML forms. In html forms when we enter the username it has to change in caps. Your answer will be appreciated.How to inserrt the to uppercase command in HTML forms?
add



onblur=';javascript:this.value

=this.value.toUpperCase();';



make sure its all on one line just yahoo cuts it off

into the html form e.g.

if your form is

%26lt;input type=';text'; name=';username'; /%26gt;

Change it to

%26lt;input type=';text'; name=';username'; onblur=';javascript:this.value=this.value?/%26gt;

No comments:

Post a Comment