Check out the LimeSurvey source code on GitHub!
Welcome, Guest
Username: Password:

TOPIC: single choice via js befüllen

single choice via js befüllen 5 years 10 months ago #56041

  • KRav
  • KRav's Avatar
  • Offline
  • Gold Lime
  • Posts: 184
  • Thank you received: 16
  • Karma: 8
Hallo,
wie kann ich eine single choice frage via js befüllen.. ? dies klappt nicht..

<script type="text/javascript" charset="utf-8"> jQuery(document).ready(function($) { var role = '{INSERTANS:54579X4X39}'; document.getElementById('answer54579X20X244').value= 'A2'; // oder so '{A1}' } }); </script> code][code]
<script type="text/javascript" charset="utf-8">
jQuery(document).ready(function($)
{
var role = '{INSERTANS:54579X4X39}';
document.getElementById('answer54579X20X244').value= 'A2'; // oder so '{A1}'
}

});
</script>

code]

research on BLOGS - Professional LimeSurvey support
Consultant - Templates - Training - JQuery magic - Support - Coding - Survey creation and more..

Contact
Professional LimeSurvey support
This email address is being protected from spambots. You need JavaScript enabled to view it.
The administrator has disabled public write access.

single choice via js befüllen 5 years 10 months ago #56072

  • Mazi
  • Mazi's Avatar
  • Offline
  • LimeSurvey Team
  • Posts: 6029
  • Thank you received: 373
  • Karma: 260
So aus dem Kopf kann ich dir das nicht sagen, aber es gibt sowohl im Forum, als auch im (englischen) Handbuch bei den Workarounds eine Menge Beispiele.
Wenn du nichts findest, bitte im englischen Forum posten, da ist unser JS-Experte unterwegs.

Best regards/Beste Grüße,
Dr. Marcel Minke
(Limesurvey Head of Support)
Need Help? We offer professional Limesurvey support
Contact: marcel.minke(at)survey-consulting.com'"
The administrator has disabled public write access.
Time to create page: 0.210 seconds
Imprint                   Privacy policy         General Terms & Conditions         Revocation information and revocation form