Hello,
I'm trying to understand some Acrobat JavaScript and I was hoping to get an answers here.
Here is the code:
global.srchVals = [{}]
for (i = 0; i<= nNumWords; i++) {
global.srchVals[i] = {srchTrm: trim(""+myArr[i]).valueAsString, mode: 0, results: []};
}
To be specific, I don't understand what the format with the colon after the words "srchTrm:" and "mode:" are.
I'm new to this and would appreciate it if someone could explain what the code does or let me know where to read about that the code shown above does.
Thank you.
Linda