Sabtu, 17 April 2010

Logic otomatis huruf besar


#head>

#script>

function upperCase(){

var x=document.getElementById("txtNama").value;

document.getElementById("txtNama").value=x.toUpperCase();

}

#/script>

#/head>

#body>

Nama :

#input type="text" id="txtNama" onBlur="upperCase()"/>

#/body>