my jquery is
<script type="text/javascript">
// <![CDATA[
$(document).ready(function() {
$.ajaxSetup({ cache: false });
setInterval(function() {
$('#divToRefresh').load('get.php');
}, 100);
});
// ]]></script>
the result of get.php is
{"dir":"down","sym":"oo","b":"1.35460","a":"1.35465"} {"dir":"down","sym":"pp","b":"1.64263","a":"1.64273"} {"dir":"down","sym":"qq","b":"104.498","a":"104.502"} {"dir":"up","sym":"rr","b":"0.88183","a":"0.88188"} {"dir":"down","sym":"ss","b":"1.09551","a":"1.09558"}
i need to display like following
ONE : 1.35451 / 1.35454 | TWO : 171.880 / 171.892 | GBP / NZD : 1.97260 / 1.97316
any help..
get.phpitself, Since you have used.load()