79556355

Date: 2025-04-04 23:16:00
Score: 0.5
Natty:
Report link

Your parameters for .load() are incorrect. The third parameter should be the callback function.

function load_data(search){
    $("#leftContent").load(
        "includes/handlers/search-handler.php",
        {search:search},
        function(response) {
            console.log(response);
        }
    );
}
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: stuartb