Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
JS calling IW Async event
#1
Is there a way where a JS can call an Async event in IW?
Reply
#2
(10-04-2023, 09:18 PM)mhammady Wrote: Is there a way where a JS can call an Async event in IW?

You mean button async click this kind of async event? if yes
you can try to use
Code:
ajaxCall("btnAdd.DoOnAsyncClick");
ajaxCall("btnAdd.DoOnAsyncClick", "key=12"); //To pass params to the event, it can be access with EventParams(TStringList)
ajaxCall("btnAdd.DoOnAsyncClick", null, true); //third params is to activate async lock (default is undefined > false)
in your JS
Reply
#3
This is exactly what I’m looking for. JS calling Async button click.
Thank you so much, I shall try it tomorrow…
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)