[Silk UI Web] Outsystems Internal javascript API. osAjaxbackend

[Silk UI Web] Outsystems Internal javascript API. osAjaxbackend

  
Forge Component
(51)
Published on 2 Oct (3 weeks ago) by OutSystems R&D
51 votes
Published on 2 Oct (3 weeks ago) by OutSystems R&D

Hi,


When I'm trying to hook into   wait using the BindBeforeAjaxRequest javascript function and when the page always invoke my wrapper function for the said function the is always null it just like not implemented or included on the when I tried to console.log it in console using the tools of chrome it has the properties I needed like BindBeforeAjaxRequest.


Why is that?

Hi Jovvy,

This question is not quite related to Silk UI Web, as it is an OutSystems function, not added by the Framework.

In any case, it seems like you're trying to call the function before it's defined. Try doing it after a document ready event.