[英]error on javascript, probably syntax?
I get error 我得到错误
[Error] PLS-00103 (805: 6): PLS-00103: Encountered the symbol "HTP" when expecting one of the following: := . ( % ;
The symbol ":=" was substituted for "HTP" to continue.
Which is the last line, I don't see anything that I'm missing, but obviously there is a comma or something. 这是最后一行,我看不到我缺少的任何内容,但显然有逗号或类似内容。 Can anyone help?
有人可以帮忙吗?
HTP.P( '<script>
function currencychange(){
$.ajax({
url:contr_entry_pkg.select_sales_center,
data: { pvCurrCd:'||CURRDEF||',
pnSalesCenterID: $(this).find("#pnSalesCenterID").val()
}
async:false,
success: function(vRetVal){
var jsonObj = eval("("+vRetVal+")");
}
});
};' )
HTP.P( '</script>');
Maybe there should be ;
也许应该有
;
before last line 最后一行之前
'...
};' );
HTP.P( '</script>');
As you can see with syntax hightlighting... 如您所见,语法高亮...
HTP.P('<script>
function currencychange(){
$.ajax({
url:contr_entry_pkg.select_sales_center,
data: {
pvCurrCd:"||CURRDEF||",
pnSalesCenterID: $(this).find("#pnSalesCenterID").val()
},
async:false,
success: function(vRetVal) {
var jsonObj = eval("("+vRetVal+")");
}
});
};');
HTP.P('</script>');
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.