function f3() { var x = document.getElementById("text1").value + " " + document.getElementsByName('sel')[0].value ; window.status = x ; }