tags:

views:

122

answers:

1

Hi All;

my textbox value = "1000000"

How To make texbox index 2 add ".";

output "1.000000";

+3  A: 

var input = $('#yourId');
var text = input.val();
input.val(text.substring(0, 1) + '.' + text.substring(1));
janmoesen
Not Work Your Code
Oraclee
What doesn't work? It looks OK to me.
Pointy
yes work sorry.
Oraclee
To Accept My Answer Please.</snide>
janmoesen