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