options = { type: "GET", url: "./php/xml.php?file="+document.getElementById("target_list").value, acync: true, r_type: "text", onSuccess:function (res) { alert(res); } } ajax(options);