|
<< Click to Display Table of Contents >> Navigation: Telegram > 2021 > 01 > 09 > Telegram_2021-01-09T16 |
2021-01-09T16:20:45
anyone used sweetalerts.js on IW15
2021-01-09T16:24:07
Had Webapplication.callbackresponse.addjavascripttoexecute() on 14 work perfectly for a call with a promise. But same code returns error 'cannot find submit component (myFunction)'
2021-01-09T16:24:53
Where myFunction is what should be called on selecting a particular button on the dialog
2021-01-09T16:26:02
Change to:
type: code Webapplication.callbackresponse.addjavascripttoexecuteasCDATA() ;
2021-01-09T16:33:25
Consider change to type: bold SweetAlert2
type: link https://sweetalert2.github.io/
2021-01-09T16:34:33
No success on this. Let me try your suggestion on sweetalert2
2021-01-09T16:35:35
Ex sweetalert2:
type: pre WebApplication.CallBackResponse.AddJavaScriptToExecute(
'swal.fire(\Erro\, \Infome pelo menos 1 Ramo de Atividade\, \error\);'
); language:
2021-01-09T16:35:52
I'm using iw15
2021-01-09T16:39:11
Do u have an example of calling a buttonclick event in Delphi from the script after a user selects a button like ok
2021-01-09T16:46:49
Click:
type: pre onclick=\return SubmitClick(''IWBUTTON1'', 'param', false);\
language: AsyncClick:
type: code onclick=\ajaxCall(''IWBUTTON1.DoOnAsyncClick'', ''param=1'', false);\
2021-01-09T16:49:08
On SweetAlert2 ?
2021-01-09T16:55:32
Yes