User839733648 posted
Hi Gopi.MCA,
According to your description, I suggest that you could read the input text and convert it to the format you want.
I've made a sample and maybe you could refer to.
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8" />
<title></title>
<script>
function TestChange(a) {
var b = document.getElementById(a).value;
var day = b.split('.')[0];
var mon = b.split('.')[1];
var year = b.split('.')[2];
var monthName = ['Jan', 'Feb', 'Mar', 'Apr', 'May', 'June', 'July', 'Aug', 'Sept', 'Oct', 'Nov', 'Dec'];
var mont = monthName[mon - 1];
var c = day.concat('-', mont, '-', year);
document.getElementById(a).value = c;
}
</script>
</head>
<body>
<input type="text" id="testid" onchange="TestChange(this.id)" />
</body>
</html>
Result:

Best Regards,
Jenifer