Nilesh Patil

Nilesh Patil

  • NA
  • 3k
  • 114.8k

Please help in Ajax call

Jul 10 2018 4:23 AM
Hi All,
 
In my ajax call success i am pass data as an object list pass it to the id
 
like this
 
success: function (data)
{
var list = data;
$.each(list, function (index, item) {
$.fn.zTree.init($("#directoryTree"), setting, item);
})
}
 
But in that item display only last entry but i want all the entries
 
its urgent please help

Answers (4)