在这个功能中,当我使用 firebug 时,我得到“syntaxerror:missing ; before var url 行上的语句。
function makeRequest(){
var url= "contr_entry_pkg.sales_center_dropdown?&pnSalesCenterID=document.getElementById("pnSalesCenterID").value +&pvCurrCd='||CURRDEF||'";
ajaxReq = (window.XMLHttpRequest)? new XMLHttpRequest() : new ActiveXObject("MSXML2.XMLHTTP")
ajaxReq.open("POST",url ,true);
ajaxReq.onreadystatechange =currencychange;
ajaxReq.send()
}