|
<< Click to Display Table of Contents >> Navigation: Telegram > 2020 > 12 > 11 > Telegram_2020-12-11T09 |
2020-12-11T09:27:08
hello Everyone!
2020-12-11T09:27:35
here I've got an IW related problem
2020-12-11T09:30:33
JS function that does executeajaxevent creates following problem in browser
2020-12-11T09:31:38
Uncaught SyntaxError: expected expression, got ')'
2020-12-11T09:31:48
as per Firefox Web console
2020-12-11T09:32:54
as a result associated callback does not trigger
2020-12-11T09:33:12
here is the code that generated the problem
2020-12-11T09:33:46
AjaxFunc := 'function doEditOpportunity(pID){' +
'executeAjaxEvent(\&option=\+pID, null,\' +
UpperCase(Self.Name) + '.doEditOpportunity\, true, null, false);' + #13 +
'return true;)';
PageContext.ExtraHeader.Add(Format(jsTag, [AjaxFunc]));
WebApplication.RegisterCallBack(UpperCase(Self.Name) + '.doEditOpportunity', doEditOpportunity);
2020-12-11T09:34:42
using IW 14,2,12
2020-12-11T09:36:37
can anybode please help?