I am using jquery for reading content from text file using AJAX. I tried it with sample application, it is working fine. But when i used in project, it is not showing the text. It scrolls entire page while loading.
Below is the code which i have used.
$(window).load(function () {
jQuery.get('TextFile1.txt', function (data) {
//process text file line by line
$('#marDemo').html(data);
});
});
Could you please help me for the above issue.
Rajasekar SPosted Apr 4, 2016, 6:27 AM
Rajasekar SPosted Apr 4, 2016, 6:23 AM
Amit KumarPosted Apr 1, 2016, 7:53 AM
Joginder BangerPosted Apr 1, 2016, 7:23 AM