I am using Ajax to receive a JSON update:
$(document).ready(function(){ $(\'form\').submit(function(event){ event.preventDefault(); var f
Your array only has one element, so you want to use 0 as your index:
0
alert(data[0].text);