Hello!
I have a date(e.g. holidays) array variable in one of the JavaScript OnLoad events(add/edit page) in my project. The event is working fine. I am using this variable to calculate the working days between two dates. I would like to replace the hard-coded(manual) array values with a table query and store the dates as an array variable.
Old array variable is something like this:
Would like to replace:
[color="#0000FF"]Query a table (e.g. "select date from holiday") and store it as an array variable similar to the old code.
I am hoping someone would be able to help/direct me to achieve the above.
Thank you,
Abhi