Home
Media
The Science
Testimonials
View All
I have thrown myself through life quite violently...
A couple of years ago, I was feeling pain in my le...
Having worked in construction, I had been sufferin...
' + arr[i].display + '
'; } document.getElementById("newtestimonials").innerHTML = arr; } function testimonialsearch() { document.getElementById("newtestimonials").innerHTML=""; var xmlhttp; if (window.XMLHttpRequest) { xmlhttp = new XMLHttpRequest(); } var xmlhttp = new XMLHttpRequest(); var url = "/includes/php/ajax_json.php?&sClass=testimonials&sMethod=search&sClassFile=testimonials.php&aParms%5Bs%5D="+ document.getElementById("search_field").value; xmlhttp.onreadystatechange = function() { if (this.readyState == 4 && this.status == 200) { var myArr = JSON.parse(this.responseText); addnewContent(myArr.oData); } }; xmlhttp.open("GET", url, true); xmlhttp.send(); }