Marcus Marcus - 1 year ago 53
Ajax Question

Javascript AJAX call, 'GET' multiple values in URL"GET","BAConsultRecordsAJAX.php?q="+str,true);

Is it possible to do this?"GET","BAConsultRecordsAJAX.php?q="+str+"j="+str2,true);

I want a value to be stored in both q and j.

Ted Ted
Answer Source

of course it is

just add an & before each additional parameter like this:"GET","BAConsultRecordsAJAX.php?q="+str+"&j="+str2,true);