farsad Posted September 8, 2016 Share Posted September 8, 2016 Hello, I am trying to develop some addon-module that uses ajax functionality to display error and success messages based on events, but when i try to do ajax on output function whmcs returns whole admin page. I've tried to set header to application/json but it doesn't help at all. Please answer. Thanks Farsad 0 Quote Link to comment Share on other sites More sharing options...
sentq Posted September 8, 2016 Share Posted September 8, 2016 run your logic print exit 0 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.