jsp页面中字体变色问题 - Java / Web 开发
[@title]function diyCheck(){
var fm = document.frmMain;
s1=fm.YEAR.value;
if(s1==2010){
}
年 | [@YEAR] | 计划 | [@PLANINOROUT] |
问题:当页面中年的值为2009时正常显示,如果年的值为2010时,字体颜色变为红色,请问该如何在script中写方法判断,谢谢!{{
相关问答:
我是用STRUTS ,做了一个JSP页面,提交后没有存入数据库。
JSP代码如下:
aa.jsp代码
type Exception report
message
description The server encountered an internal error () that prevented it from fulfilling this request.
exception
org.apache.jas ......
< ......
我希望在编辑文字后把发送键改到屏幕中间,具体说就是
在kb.class中的部分作出修改
部分代码:
V = new TextBox(ld.a(383), "", 190, 0);
X = new Comma ......
我现在用struts2框架,需要使用ajax实现局部刷新,但是从容器里返回的值不知道怎么从struts.xml配置文件里映射到jsp页面里,以前servlet里写out.orint("xxxxx")就可以得到~,但是现在用struts就不知道怎么� ......