Home
Media
The Science
Testimonials
View All
Several years ago I suffered from a fall off my bi...
' + 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(); }