|
<< Click to Display Table of Contents >> Navigation: Telegram > 2020 > 12 > 11 > Telegram_2020-12-11T10 |
2020-12-11T10:16:12
In the browser press ctrl-shift-J and it will highlight exactly where the syntax error is.
2020-12-11T10:18:01
I know where it but I just dont know what is the problem
2020-12-11T10:18:18
here it is
2020-12-11T10:18:20
'function doEditOpportunity(pID){' +
'executeAjaxEvent(\&option=\+pID, null,\' +
UpperCase(Self.Name) + '.doEditOpportunity\, true, null, false);' + #13 +
'return true;)';
2020-12-11T10:19:39
maybe I Misuse the executeAjaxEvent function
2020-12-11T10:20:23
does the call above look correct to you?
2020-12-11T10:21:06
in web console says Uncaught SyntaxError: expected expression, got ')'
2020-12-11T10:21:38
apparently the params are incorrect
2020-12-11T10:40:16
You are showing me the Delphi side which has concatenation and more... better to show the output to find the mismatched )... a screenshot is best of the script debugger which will show you the issue...
2020-12-11T10:40:27
look at the source view tab in the debugger.
2020-12-11T10:46:07
I find the Chrome debugger easier to use than the FF one, but that may be a personal view.