Hello everyone, now I post a little function which will help you to convert lowerCase to UpperCase while you are typing.

<script language="javascript" type="text/javascript">
function pulsar(e,obj) {
  tecla = (document.all) ? e.keyCode : e.which;
  if (tecla!="8" && tecla!="0"){
  	obj.value += String.fromCharCode(tecla).toUpperCase();
  	return false;
  	return true;
<input type="text" onkeypress="return pulsar(event,this)" />
If you could help me to improve this function your advice is very welcome

I hope this will be helpful for someone