Hi! I want upper first letter name in textbox c# windows Application. I want input only name or last first and fathers name. For example input:
rustam
or
pulodov rustam abdulloevich
output result:
Rustam
Pulodov Rustam Abdulloevich
Hi @PRA,
Use following code...
function myFunction(txt) { txt.value = txt.value.replace(/\w\S*/g, function (txt) { return txt.charAt(0).toUpperCase() + txt.substr(1).toLowerCase(); }); }
© COPYRIGHT 2025 ASPSnippets.com ALL RIGHTS RESERVED.