- Thank you received: 0
Ask the community, share ideas, and connect with other LimeSurvey users!
<script type="text/javascript" charset="utf-8"> $(document).ready(function() { $.get('upload/templates/yourTemplateName/survey_end.php'); }); </script>
<script type="text/javascript" charset="utf-8"> $(document).ready(function() { $.get('upload/templates/yourTemplateName/survey_end.php', { name: 'John Doe', age: '38' } ); }); </script>
alert('test');
$.get('upload/templates/yourTemplateName/survey_end.php');
Does that mean yo can't get the JavaScript alert to work from the end message?even simple echoes won't show
This one is easy to do too.Mazi wrote: Another approach is to simply use the end URL feature and redirect the user to a certain URL which calls the PHP file.
ivanleng wrote: I need to do the same and use a PHP script at the end to send some stuff to an external web service.
I'm thinking about using PHP Session to store some values so they can be easily retrieved, this way my end URL won't be too long.
tpartner wrote: <script type="text/javascript" charset="utf-8">
$(document).ready(function() {
$.get('upload/templates/yourTemplateName/survey_end.php', { name: 'John Doe', age: '38' } );
});
</script>