Welcome to the LimeSurvey Community Forum

Ask the community, share ideas, and connect with other LimeSurvey users!

Jquery accordion works in separate question but not in question group

  • endoflifecare
  • endoflifecare's Avatar Topic Author
  • Offline
  • New Member
  • New Member
More
3 years 9 months ago #200687 by endoflifecare
Hello all,

I am using the latest Expert version of LimeSurvey. I have a problem with a jquery accordion not working in certain modes.

I have 3 questions in a question group, of which the first 2 questions have to contain a jquery accordion.

The accordion WORKS for the first question, and WORKS for the second question as well in preview for the separate questions. BUT, when I preview the whole question group or the survey itself, the code STOPS working for the second question and the accordion disappears.


This is the code I use for the first question (which ALWAYS WORKS, so no problem here)
<meta charset="utf-8"><meta name="viewport" content="width=device-width, initial-scale=1">
<title></title>
<div style="height: 117px;">
<p> </p>

<center><img alt="" src="/upload/surveys/517625/images/QI1%20kine%202805%202.png" style="width: 700px; height: 100px;" /></center>

<p> </p>
</div>
<link href="//code.jquery.com/ui/1.12.1/themes/base/jquery-ui.css" rel="stylesheet" />
<link href="/resources/demos/style.css" rel="stylesheet" /><script src=" code.jquery.com/jquery-1.12.4.js ">