各位大侠帮忙看一下下面的方法public void BuilJavaEvent()
{
this.DataSetToXml();
this.Attributes.Add("onkeypress","javascript:var jsXml = new ActiveXObject('Msxml2.DOMDocument') ;jsXml.loadXML('\" + document.getElementById('XmlValue').value+\";"+ this.GetJavaStrHtmlID());                     
   
}
我想通过c#脚本代码返回到前台一段js脚本,但是其中的双引号(/")到前台后变成"这有办法解决吗,或者是不是我这方法不对。