Reputation: 163
xmlhttp.open("GET","BAConsultRecordsAJAX.php?q="+str,true);
Is it possible to do this?
xmlhttp.open("GET","BAConsultRecordsAJAX.php?q="+str+"j="+str2,true);
I want a value to be stored in both q and j.
Upvotes: 0
Views: 87
Reputation: 4067
of course it is
just add an & before each additional parameter like this:
xmlhttp.open("GET","BAConsultRecordsAJAX.php?q="+str+"&j="+str2,true);
Upvotes: 4