html选择语句的写法
来源:互联网 发布:linux tar 解压-x 编辑:程序博客网 时间:2024/05/13 17:32
本来以为很简单,可是用的时候就是不知道怎么写还是得记录哈
<html> <head> #parse("layout/header.vm") </head> <body> <div class="top-title"> <span class="arw-d"></span> <h2 class="tt">#if("$!notice.articleId" == "")发布#else修改#end内容</h2><!--一般标题选择--> </div>
<!--表单--> <form id="testForm" name="testForm" method="post" class="m-form" action="#if("$!notice.articleId" == "")/publish/noticeAdd.htm #else /publish/noti
<!--提交路径的选择-->
ceUpdate.htm #end" enctype="multipart/form-data">
<input type="hidden" name="resultCode" id="resultCode" value="$!resultCode" /><input type="hidden" name="articleId" id="articleId" value="$!notice.articleId" /><input type="hidden" name="status" value="$!status" /><input type="hidden" name="msg" id="msg" value="$!msg" /><input type="hidden" name="articleContent" id="articleContent" value="$!notice.articleContent" /><div class="item-box fn-clear"> <div class="item" style="width:100%"> <label class="lab"> <span class="required">*</span>标题:</label> <input type="text" value="$!notice.articleTitle" name="articleTitle" style="width:760px" maxlength="50" class="ipt"/> </div> </div><div class="item-box fn-clear"> <div class="item" style="width:100%"> <label class="lab"> <span class="required">*</span>内容:</label> <textarea id="CKeditor" style="width:772px;height:494px"></textarea> </div> </div><div class="item-box fn-clear"><div class="item" style="width:100%"><label class="lab">摘要:</label> <textarea name="articleSummary" style="width:772px">$!notice.articleSummary</textarea> </div> </div><div class="item-box fn-clear" > <div class="item" style="width:100%" > <label class="lab"> <span class="required">*</span> 发布到:</label> <div class="jqtransform jqtransform-select3 select_type" > <select name="channel"> <option value="">-请选择项目-</option>#foreach($channel in $channelList)<option value="$!channel.categoryId" #if($channel.categoryId == $super.categoryId) selected #end>$channel.categoryName</option>#end</select> </div><div class="jqtransform jqtransform-select3 select_type" > <select name="categoryCode"> <option value="">-请选择分类-</option>#foreach($sub in $subList)<option value="$!sub.categoryCode" #if($sub.categoryCode == $notice.categoryCode) selected #end>$!sub.categoryName </option>#end </select><span id="categoryInfo"></span> </div> </div> </div> <div class="bottom-c" style="align:center"> <a href="javascript:;" class="u-btn u-btn-green mr10" id="save">#if("$!notice.articleId" == "")发布#else修改#end</a> #if("$!notice.articleId" == "") <a href="/publish/noticeToAdd.htm" class="u-btn u-btn-red" id="return_back">取消</a> #else <a href="javascript:history.go(-1);" class="u-btn u-btn-red" >返回</a> #end </div></form><script type="text/javascript"> seajs.use($_GLOBAL.mode + 'publish/noticeToAdd.js');</script></body></html>
0 0
- html选择语句的写法
- jQuery选择HTML元素集合的遍历函数写法
- 选择排序的写法
- switch__case语句的写法
- html平方的写法
- HTML 的空格写法
- JS编辑器获取选择内容的HTML多浏览器兼容性写法(支持Chorme、Firefox)
- mysql选择null的写法
- 文件选择的Filter写法
- JQ选择的链式写法
- 下拉ul选择的写法
- ASP.NET数据绑定在HTML里有条件判断语句的写法-“三元运算符”
- sql语句的多种写法
- update from 语句的写法
- 标准Sql语句的写法
- select 语句的标准写法
- mysql 嵌套语句的写法
- SQL循环语句 的写法
- 16位创业明星解读成功密码
- 关于野指针
- java中的路径总结
- php数据库操作
- windows服务的onstart方法调试
- html选择语句的写法
- Django 数据库API参考
- WPF Child Window Implementation 3. Resize window
- win7下安装ORACLE10g报错 未知错误
- MFC 实现重启当前程序
- Android 中View类DrawingCache的使用
- linux学习小结
- R语言中各种apply的应用
- LeetCode: Remove Nth Node From End of List