How do you update ajax response with id " resilts"?

By using below code we can update div content where id 'results' with ajax response
function updateStatus() {
     $.ajax({
            url: 'pcdsEmpRecords.php',
            success: function(response) {
             // update div id Results
             $('#results').html(response);
         }
     });
}

0 comments: