diegojmap Posted June 13, 2017 Share Posted June 13, 2017 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? Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.