Posts by Edgar Olavo • 11 points
1 post
-
1
votes2
answers392
viewsA: Function does not enter ajax success with jquery
Use .text() dataType can be JSON without problems. Your obj variable is a problem. It will always contain the data of the last line. Use: var obj = []; $('tr').each(function(index) { obj[index] = {…