比如 ajax 跟 asp 交换数据:
xmlhttp.open("GET","gethint.asp?q="+str,true);
asp 中用 q=ucase(request.querystring("q")) 就可以获得参数q的值
asp中 用 response.write("xxx") 就可以返回数据
那么 python 是怎么跟ajax交换数据呢?
xmlhttp.open("GET","gethint.asp?q="+str,true);
asp 中用 q=ucase(request.querystring("q")) 就可以获得参数q的值
asp中 用 response.write("xxx") 就可以返回数据
那么 python 是怎么跟ajax交换数据呢?