Hi friends,
How to make auto Capital Letter when user key-in value on textbox in VB.net?
Hi,
Please refer below code.
HTML
<html xmlns="http://www.w3.org/1999/xhtml"> <head> <title></title> <script type="text/javascript"> function Capital(txt) { txt.value = txt.value.replace(/^\s+/, '').toUpperCase(); } </script> </head> <body> Enter Name: <input type="text" value=" " onkeyup="Capital(this)" /> </body> </html>
© COPYRIGHT 2025 ASPSnippets.com ALL RIGHTS RESERVED.