<asp:textbox id="txtInput" runat="server" xmlns:asp="#unknown"></asp:textbox> <script type="text/javascript"> function setFormat() { var inp = document.getElementById('ctl00_MainContent_txtInput'); var x = inp.value; inp.value = x.toUpperCase(); } var inp = document.getElementById('ctl00_MainContent_txtInput'); inp.onblur = function(evt) { setFormat(); }; </script>
<style> .upper { text-transform:uppercase ; } </style>
<asp:textbox id="txtName" runat="server" cssclass="upper" xmlns:asp="#unknown"></asp:textbox>
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)