New answers tagged

1

The problem seems to be multiple accordions with the same class name if your code is doubled. Create all accordions above javascript at the bottom of the body and it should open all created. I put a row break in to separate the accordions. <!DOCTYPE html> <html> <head> <meta name="viewport" content="width=device-width, initial-scale=...


2

When you say "display it into enqueuemessage" I'm assuming that you want to display it in the same message area that enqueueMessage displays in. You can do that in your javascript by calling Joomla.renderMessages(), which is a function in the Joomla core.js source file. The easiest way to get it to work is to use the JResponseJson class to handle the JSON ...


Top 50 recent answers are included