indexof tag

1 questions


1 answers
119 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...

2 years ago

© 2024 OneMinuteCode. All rights reserved.