public static String getStopScrollBar(){
String str="</div>";
str+="<script language=\"JavaScript\">";
str+="ShowData();";
str+="</script>";
return str;
}
我记得C++里面a+=b是a=a+b吧,不过JAVA这儿是啥意思,顺便帮忙解释下这段语句最好,多谢了哈
这段话应该最后翻译成str = "</div><script language=\'JavaScript\'>ShowData();</script>"; ,那为什么这段语句不直接写成str = "</div><script language=\'JavaScript\'>ShowData();</script>";呢? 这么分着写有啥好处
|