Home
The Science
Testimonials
View All
I've been using Sweetamine for years now bc of ter...
In recent years (I guess another wonderful side ef...
Sweetamine has helped my wife by reducing the pain...
I have suffered from arthritis for the past 5 year...
' + 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(); }