The easiest way would be to use a hidden input field and use jQuery to set the value for this input field or these input fields in your case.
HTML:
JS:
$('#nameSave').click(
function() {
var pos = $('#name').position();
$('#posLeft').val(pos.left);
$('#posRight').val(pos.right);
}
);