I have managed to get an CI4 AJAX Dynamic Search routine working but it was an 'Orrible Kludge.
I had a tremendous amount of problems in trying to call this dbSearchResults.php file using the following JavaScript:
My knowledge of JavaScript is very basic and no solved or other solutions were found.
I would be very grateful for a link to a tutorial. If none are available then I would like to know the correct method to call and use a PHP file with AJAX.
I had a tremendous amount of problems in trying to call this dbSearchResults.php file using the following JavaScript:
Code:
<script type="text/javascript">
function showResult(str)
{
...
...
...
xmlhttp.open("GET","dbSearchResults.php?q="+str,true);
xmlhttp.send();
}// endfunc ShowResults
</script>
My knowledge of JavaScript is very basic and no solved or other solutions were found.
I would be very grateful for a link to a tutorial. If none are available then I would like to know the correct method to call and use a PHP file with AJAX.