• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
AJAX help wanted

#1
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:
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.
download and make your system directory strict
Reply


Messages In This Thread
AJAX help wanted - by John_Betong - 07-18-2017, 09:52 AM
RE: AJAX help wanted - by Wouter60 - 07-18-2017, 10:41 AM
RE: AJAX help wanted - by John_Betong - 07-21-2017, 01:22 AM
RE: AJAX help wanted - by InsiteFX - 07-22-2017, 02:29 AM
RE: AJAX help wanted - by PaulD - 07-22-2017, 02:16 PM

Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  


  Theme © 2014 iAndrew  
Powered By MyBB, © 2002-2019 MyBB Group.