- Posts: 2
- Thank you received: 0
Ask the community, share ideas, and connect with other LimeSurvey users!
Please Log in to join the conversation.
Please Log in to join the conversation.
<script type="text/javascript" data-author="Tony Partner"> $(document).on('ready pjax:scriptcomplete',function(){ // Define some text strings var originalModalText = "Eine oder mehrere Pflichtfragen wurden nicht beantwortet. Bitte füllen Sie diese nach Möglichkeit aus, bevor Sie mit der nächsten Seite fortfahren."; var newModalText = "It looks like you have missed some questions. Do you want to answer them or go to the next page?"; // Modify the modal text var modalBody = $('.modal-body p').filter(function() { return $.trim($(this).text()) == originalModalText; }); if(modalBody.length > 0) { modalBody.text(newModalText); } }); </script>
Please Log in to join the conversation.
alert($.trim($(this).text()));
Das ganze mit dem Code hier:window.debugState = {frontend : (0 === 1), backend : (0 === 1)};
/*<![CDATA[*/
LSvar={"bFixNumAuto":1,"bNumRealValue":0,"sLEMradix":",","lang":{"confirm":{"confirm_cancel":"Abbrechen","confirm_ok":"OK"}},"showpopup":1,"startPopups":{},"debugMode":0};
if(typeof LSvar === 'undefined') { var LSvar = {}; };
LSvar.bFixNumAuto = 1;
LSvar.bNumRealValue = 0;
LSvar.startPopups = ["Eine oder mehrere Pflichtfragen sind nicht beantwortet worden. Bitte beantworten Sie diese zuerst, um fortzufahren!"]
/*]]>*/
<script type="text/javascript" data-author="Tony Partner"> $(document).on('ready pjax:scriptcomplete',function(){ // Define some text strings var originalModalText = "Eine oder mehrere Pflichtfragen sind nicht beantwortet worden. Bitte beantworten Sie diese zuerst, um fortzufahren!"; var newModalText = "It looks like you have missed some questions. Do you want to answer them or go to the next page?"; // Modify the modal text var modalBody = $('.modal-body p').filter(function() { return $.trim($(this).text()) == originalModalText; }); if(modalBody.length > 0) { alert($.trim($(this).text())); modalBody.text(newModalText); } }); </script>
Please Log in to join the conversation.
Please Log in to join the conversation.