From dd9629cbbee9a8411d2f03cbd81c641d9b53f6ac Mon Sep 17 00:00:00 2001 From: Josh de Leeuw Date: Sun, 10 Nov 2013 19:04:53 -0500 Subject: [PATCH] showing data --- examples/jspsych-text.html | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/examples/jspsych-text.html b/examples/jspsych-text.html index 0baca960..64800f98 100644 --- a/examples/jspsych-text.html +++ b/examples/jspsych-text.html @@ -28,7 +28,12 @@ jsPsych.init({ display_element: $('#jspsych_target'), - experiment_structure: [text_block] + experiment_structure: [text_block], + on_finish:function(data){ + $('#jspsych_target').append("
",{
+                    html:(JSON.stringify(data,undefined,2))
+                });
+            }
         });
     
 
\ No newline at end of file