How can I change the value of textbox using jQuery/JavaScript before the form get submitted (before button clicked) when a user typed:
will.smith to Will.Smith
I have used the below code which only convert it Uppercase (entire string):
$('input[type=text]').val (function () {
return this.value.toUpperCase();
})
Keeping in mind I don't want to change it visually using CSS.
I hope someone can give me an idea on the same.