
WML
hanye
这个作者很懒,什么都没留下…
展开
-
<c:out value="${s.name}" escapeXml="false"></c:out></td>
<c:out value="${s.name}" escapeXml="false"></c:out></td> 在<c:out>标签中有一个escapeXml属性,其默认值为true,意思是是否过滤为xml文档。 如果为escapeXml="false",则将其中的html、xml解析出来。 如value="&a原创 2011-08-18 22:51:17 · 283 阅读 · 0 评论 -
清除wml表单文本框缓存 wml缓存清除
$rd_nocache = random(6); ' 新的页面地址,使页面缓存无效 <a href=\"index.php?action=pm&amp;do=send&amp;$rd_nocache\">$lang[pm_send]</a><br />\n" ' 新的表单名称,使表单缓存无效 echo "<p>原创 2011-07-02 12:29:31 · 138 阅读 · 0 评论 -
wml selected ivalue
wml并不支持selected属性,需用ivalue属性。切记切记。。。 简易例子: <% int selected = 0, i = 0; String optionList = ""; List<SexInfo> sexs = (List) request.getAttribute("sexs"); for(SexInfo sex : sexs){ i+...2011-07-02 12:56:47 · 109 阅读 · 0 评论 -
wml 中 如何写js
<Script Language="JavaScript"> var enabled = 0;today = new Date();var day;var date;var timedate= new Date("August 9,2008");var times="";var now = new Date();var date = timedate.getTime() - now....2011-07-02 13:04:24 · 270 阅读 · 0 评论 -
input 变态
<html> <script> window.onload=function(){ document.getElementById("form").reset();} </script> <form id="form" name="form" method="post" action="t_course.j原创 2011-11-07 23:54:23 · 97 阅读 · 0 评论 -
如何使DIV 或者 Form不自动换行
form整天会自己换行,这不利于我们布局。 可以使用css帮助我们解决这个问题: form { margin:0px;display: inline } margin: 上下左右间隔都设为 0px display: inline 此元素会被显示为内联元素,元素前后没有换行符。 其他情况想不换行也是一样的做法: <h1> Head Line...原创 2011-11-10 14:46:38 · 460 阅读 · 0 评论