Jump to content

Doubt AjaxEvent


diegojmap

Recommended Posts

I was able to get screen events with OnAjaxEvent.

As I can get the event that does not have to be with screen, for example inside a function I have a loop and I need to get the return code from that code.


   UniSession.AddJS (
        '$.post("http://localhost:8888/api/sign/files").success(function(data) { '+
         'ajaxRequest(sender, ''MyEventSucess'',  [''json='' + JSON.stringify(data)]);'+
        '})'+
        '.error(function (data) { '+
         'ajaxRequest(sender, ''MyEventError'',  [''json='' + JSON.stringify(data)]);'+
        '});'
      );





Is there a way?

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...