I've been trying this for a while. Although there are alot of similar questions on stack, none of them have seemed to work for me. Here is my issue
Here's my code and this was my latest attempt
var busWorkOrders;
function jsonBusWorkOrders() {
busWorkOrders = "New Value";
}
How can busWorkOrders new value of "New Value" be accessed outside of the function jsonBusWorkOrders().
I have also tried How do I change the value of a global variable inside of a function
Any help would be appreciated.