var obj = document.getElementById("orgName");无法获取输入框的值,获取的值为[object HTMLInputElement]。用var obj = document.getElementById("orgName").value获取的值