<script src="//ajax.googleapis.com/ajax/libs/jquery/1.9.1/jquery.min.js"></script>
<input tabindex="12" id="613" class="r" type="text" value="" name="ten_l" placeholder="см" />
<div id="inner-editor">,,,,,</div>
<script type="text/javascript">
$("input[name='ten_l']").change(function() {
$(this).next().html($(this).val().replace(/,/g, '.'));
});
</script>