changes document.getElementById('?').value  to  $('#?').val()
fix for getin messages