Telegram_2020-12-11T10

<< Click to Display Table of Contents >>

Navigation:  Telegram > 2020 > 12 > 11 >

Telegram_2020-12-11T10

Telegram link

 

2020-12-11T10:16:12

 

In the browser press ctrl-shift-J and it will highlight exactly where the syntax error is.

 


 

Telegram link

 

2020-12-11T10:18:01

 

I know where it but I just dont know what is the problem

 


 

Telegram link

 

2020-12-11T10:18:18

 

here it is

 


 

Telegram link

 

2020-12-11T10:18:20

 

'function doEditOpportunity(pID){' +

 

'executeAjaxEvent(\&option=\+pID, null,\' +

 

UpperCase(Self.Name) + '.doEditOpportunity\, true, null, false);' + #13 +

 

'return true;)';

 


 

Telegram link

 

2020-12-11T10:19:39

 

maybe I Misuse the executeAjaxEvent function

 


 

Telegram link

 

2020-12-11T10:20:23

 

does the call above look correct to you?

 


 

Telegram link

 

2020-12-11T10:21:06

 

in web console says Uncaught SyntaxError: expected expression, got ')'

 


 

Telegram link

 

2020-12-11T10:21:38

 

apparently the params are incorrect

 


 

Telegram link

 

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...

 


 

Telegram link

 

2020-12-11T10:40:27

 

look at the source view tab in the debugger.

 


 

Telegram link

 

2020-12-11T10:46:07

 

I find the Chrome debugger easier to use than the FF one, but that may be a personal view.