I would like to display a system message when I got back my ajax request.
The ajax request returns the right message. I can test it with an alert.
alert(result.message);
Joomla.renderMessages(result.message);
It will now show up the success or error message as a typical Joomla System Message.
But the Joomla.renderMessages
call, doesn't show any results. The system message won't appear on my site.
Is there anything wrong or do I have to do something more to get this to run?