jquery - post json retrun empty values -


i using json create modal, using code pass variable stored procedure return code using json_encode() issue json returning nothing.

i using code:

$('table.mytable').on('click', '.edit-row', function () { $("#projectid").val($(this).data('projectid')); $("#stepid").val($(this).data('stepid'));  $.post('', {getlist: 1, projectid: $(this).data('projectid'), stepid: $(this).data('stepid')}, function (data) { var html = ''; $.each(data, function (index, value) {    html += '          <tr> ';    html += '               <td> '+ value.value1 +' </td>\                            <td> '+ value.value2 +' </td>\                            <td> '+ value.value3 +'</td>';    html += '           <tr>';  });  $('table#my-tb > tbody').html(html);      }, 'json');  }); 


Comments

Popular posts from this blog

neo4j - finding mutual friends in a cypher statement starting with three or more persons -

php - How to remove letter in front of the word laravel -

minify - Minimizing css files -