要实现在的语句为:s1.addVariable("file","&Pic&")
我刚才用response.write "s1.addVariable(""file"",'"&Pic&"');"
结果输入的语句为:s1.addVariable("file",'&Pic&')请问要怎么写才能输出s1.addVariable("file","&Pic&")?
我刚才用response.write "s1.addVariable(""file"",'"&Pic&"');"
结果输入的语句为:s1.addVariable("file",'&Pic&')请问要怎么写才能输出s1.addVariable("file","&Pic&")?
response.write "s1.addVariable(""file"","""&Pic&""");" ---->s1.addVariable("file","");
我刚才用response.write "s1.addVariable(""file"",'"&Pic&"');"
结果输入的语句为:s1.addVariable("file",'&Pic&')
请问要怎么写才能输出s1.addVariable("file","&Pic&")?先定义变量str=s1.addVariable("file",'&Pic&');在执行替换就可以了:str=str.replace(',");这样就可以,把'替换成"就可以了。