$.get tag

1 questions


1 answers
109 views
0
Why is indexOf not working in the array divided by the string split('\n') of the text file received in ajax?

I wrote it in a script inside the body. $.ajax({ url: aaa.txt, success: function(result){ console.log(result); var rArr = result.split(\n); console.log(rArr); var ee = rArr.indexOf(01001); con...

1 years ago

© 2024 OneMinuteCode. All rights reserved.