Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
AddJavaScriptToExecuteAsCDATA vs AddToInitProc
#2
AddToInitProc is a method of the IWForm (and also other objects like TIWPageContext), but it's not present in TIWApplication (WebApplication) interface.

AddToInitProc adds JavaScript code to the initialization section of the rendered page (function Initialize() that is called when page ends loading, similarly to jQuery's OnReady)

AddJavaScriptToExecute (and AddJavaScriptToExecuteAsCDATA) are methods from CallBackResponse which add JavaScript that is executed when a response to an Async request is generated.
Reply


Messages In This Thread
RE: AddJavaScriptToExecuteAsCDATA vs AddToInitProc - by Alexandre Machado - 12-20-2021, 02:10 AM

Forum Jump:


Users browsing this thread: 1 Guest(s)