0

I have got nearly 6000 symbols of array symbols for example inside my js file

var sourcesymbols = [
    "ONE",
    "TWO",
    -------- upto 6000 symbols 
]

Rather than defining this array in jsfile, is it possible to link it from sever (for example i have got a txt file in server and now can i provide it as a source to this array)

something this way

var sourcesymbols = http://localhost:8080/RESTWEBAPP/myfile.txt

Is this possible?

gen_Eric
  • 214,658
  • 40
  • 293
  • 332

0 Answers0