function createXMLHTTP() {
xmlhttp = =new XMLHttpRequest();
return xmlhttp;
}
I'm trying to create 3 instances of this, but it all has the same variable name which is xmlhttp. How can I dynamically create different variable names? I'm not sure if that's the right way to ask the question.
I want to create like xmlhttp1, xmlhttp2, xmlhttp3, so then I can reference each one.