ASP sending two datas

Whing Dela Cruz
Whing Dela Cruz used Ask the Experts™
on
Hi experts, code below is able to send to asp server side one data. How to add another data? As the code shown below I wish to include str2 in xmlhttp.open. Thank you!
 
str = "acc"
str2= "12V"
xmlhttp.open("GET","getcustomer.asp?q="+str,true);
Comment
Watch Question

Do more with

Expert Office
EXPERT OFFICE® is a registered trademark of EXPERTS EXCHANGE®
Web Ninja at large
Commented:
Try:

xmlhttp.open("GET","getcustomer.asp?q="+str + "&q2=" + str2,true);

Author

Commented:
Its working sir, Thank you!

Do more with

Expert Office
Submit tech questions to Ask the Experts™ at any time to receive solutions, advice, and new ideas from leading industry professionals.

Start 7-Day Free Trial