本文实例讲述了jQuery实现的点击按钮改变样式功能。分享给大家供大家参考,具体如下:
1. css代码:index4.css
2. jsp代码:index4.jsp
<%
Stringpath = request.getContextPath();
StringbasePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>
nofollow" >
My JSP 'index4.jsp' startingpage
<Meta http-equiv="pragma"content="no-cache">
<Meta http-equiv="cache-control"content="no-cache">
<Meta http-equiv="expires"content="0">
<Meta http-equiv="keywords"content="keyword1,keyword2,keyword3">
<Meta http-equiv="description"content="This is my page">