How to check if json data return is empty with jquery – SEO
i have a live searcher thats when its data its shows i need to alert if the data is empty this is the jquery: $(document).ready(function() { $('#q').on('input', function() { var searchKeyword = $(this).val(); if (searchKeyword.length >= 3) { $.post('/files/assets/php/ajax/search.php', {…