Get values from text file and pass it to an array in javascript

55 views Asked by At

I am new to java script and writing rhq cli scripts for automation where js is used to call rhq API .

what i need is , want to get the values from the text file and pass it to an array using java script Please assist on this. enter image description here

Above is the cli commands used in rhq ... where i must pass the values into the the array "mstarray" from file.

Please help on this.

0

There are 0 answers