Welcome, Guest
Username: Password: Remember me

TOPIC: single choice via js befüllen

single choice via js befüllen 3 years 2 months ago #56041

  • ResearchOnBlogs
  • ResearchOnBlogs'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.

Re: single choice via js befüllen 3 years 2 months ago #56072

  • Mazi
  • Mazi's Avatar
  • OFFLINE
  • LimeSurvey Team
  • Posts: 5279
  • Thank you received: 289
  • Karma: 246
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)limesurvey.org'"
The administrator has disabled public write access.
Moderators: ITEd
Time to create page: 0.115 seconds
Donation Image