C
Chris M.
I have a JavaScript function that sends a GET request to a cgi script
and displays the results from the script. The call to the function
looks like this:
ajaxpack.getAjaxRequest("/cgi-bin/myscript.cgi",
"searchstring=cooking&pageone=Submit", processGetPost, "txt")
This works, and I get the correct results back. But I want to replace
the searchstring "cooking" with the value of a variable called
"search". I have tried several different ways to interpolate this
variable, but have not found the correct syntax.
Can anyone help me out?
Thanks!
Chris M.
and displays the results from the script. The call to the function
looks like this:
ajaxpack.getAjaxRequest("/cgi-bin/myscript.cgi",
"searchstring=cooking&pageone=Submit", processGetPost, "txt")
This works, and I get the correct results back. But I want to replace
the searchstring "cooking" with the value of a variable called
"search". I have tried several different ways to interpolate this
variable, but have not found the correct syntax.
Can anyone help me out?
Thanks!
Chris M.