var objval = document.getElementById('front_car').value; document.write(objval);