我这个怎么样才能换行阿?
document.getElementById( "div_chat ").innerText+=xmlhttp.responseText+ " </br> ";这样部队!
string nr = Request.QueryString[ "nr "];
string rz = DateTime.Now.ToString();
StringBuilder mytrr = new StringBuilder();
mytrr.Append(rz);
mytrr.Append( " 兄弟说: ");
mytrr.Append( " </br> ");//这样也不对
mytrr.Append(nr);
Response.Write(mytrr);
到底怎么写才能换行阿
------解决方案--------------------\n
------解决方案--------------------document.getElementById( "div_chat ").innerText+=xmlhttp.responseText+ "\n ";
------解决方案--------------------+ "\n "
------解决方案--------------------你累加起来看看mytrr 是什么,html如何换行你改知道吧?